Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: