HN user

maglob

9 karma
Posts0
Comments4
View on HN
No posts found.

If something is too easy to be interesting, find ways to make it more interesting.

Like, after the naive solution try without if statement, then without switch statement, and so on, until you are eventually left with just a print statement (+ given for loop) :)

> That's because human languages are geared towards interactive communication not towards describing problems and solutions precisely. That's why computer languages resemble rather precise math language.

Reminds me about a nice summary of Lisp, which describes working with Lisp:

"Interactive means that programming is a dialog with Lisp. You enter an expression and Lisp computes the side effects (for example output) and the value.

So your programming session is like 'talking' with the Lisp system. You work with it until you get the right answers."

http://stackoverflow.com/questions/1105522/how-do-i-get-lisp...