by andrewcooke · 14y ago · 0 comments
seriously. that's how i am describing it to co-workers: a better python. that should have been scheme, i guess, but it lacked the lazy sequences to get over the "ewww parens" hill. if you're a python user that's starting to appreciate the power of generators you owe it to yourself to look at clojure.
the one thing that drives me crazy is the state of libraries: finding the right library for the right version, and then finding where the pom is. i wish that could be clearer (less confusion about versions and more direct pointers to poms/repos/IDs).
[not sure if it's relevant, but python never had a killer app. i guess it is an "unconvincing" language too...]
Once you gain paren blindness, Clojure code starts to look a lot like Python. Macros, immutability, real concurrency, destructuring all make for a much nicer experience.
That being said, Clojure just feels like a nicer Python and for me and others, Python is just fine, so why change? Concurrency is one of the promised gains in CLJ but beyond software STM, Clojure doesn't gain you much. You're still using cumbersome threads so why bother. In fact I've moved on from Clojure and started writing Erlang for highly concurrent applications. It is much more appropriate for building concurrent, robust applications. I still write a fair amount of Python for web development.