News for hackers. Stuff that matters.
Re:Clojure & Python, Side by Side by rayiner on Saturday November 19, 2011 @04:46PM (#3256357)
I mean the answer is that the Python example is nearly purely functional to begin with. It uses list comprehensions heavily and I couldn't find any mutating assignments in a quick glance of the code. Which is not surprising, since it was written by Peter Norvig, who wrote a very popular Lisp book.

I think what Clojure can offer on top of that is macros, the advantages of which are really only evident on bigger or harder problems.

There are no comments on this comment yet.