News for hackers. Stuff that matters.
Re:Kent M. Pitman Answers On Lisp And Much More by cageface on Sunday March 28, 2010 @05:53PM (#1225307)
The great thing about using a variety of different structure delimiters instead of one is that they delimit different kinds of structure and make those delimitations more clear and explicit. Real Lisp code makes liberal use of redundant whitespace to indicate structure for similar reasons. In fact, a lot of Lispers will tell you they don't even see the parentheses after a while. If this is really so, why not just eliminate them and use Python instead? You lose macros but gain a lot of syntactic clarity.

As for arithmetic, most people will find this: (/ (+ (- b) (sqrt (- (* b b) (* 4 a c)))) (* 2 a))

less readable than this: (-b + sqrt(b * b - 4 * a * c)) / 2 *a

It may be that readability is relative but those that find prefix notation more readable in general have been in the minority since Lisp was first invented.

There are no comments on this comment yet.