This is pretty cool. I know python well enough to hack my way around it. I'm probably missing something, but now I have to ask: what would be the point in me learning clojure?
Clojure has no GIL and the concurrency API has few rivals
Clojure & Python, Side by Side
11–20 of 67 posts
Re: Clojure & Python, Side by Side
#12Re: Clojure & Python, Side by Side
#13Re: Clojure & Python, Side by Side
#14Earlier quoted context omitted.
cough http://www.jython.org/ cough
Unfortunately, Jython is at 2.5.2, 3.5 years behind cpython.
Anyways, YMMV. All I got to do once was set my Django application to run on Jython, and that was relatively painless.
Re: Clojure & Python, Side by Side
#15Earlier quoted context omitted.
This occurred to me after I finished writing that post.
Yea... I'm still confused as to the whole point of pure/near-pure functional programming if we're not getting better code density/more productivity against other languages which I (and some others) find easier to work with. I guess all I'm saying is "convince me!" :) I'm all ears.
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.
Re: Clojure & Python, Side by Side
#16Earlier quoted context omitted.
This occurred to me after I finished writing that post.
Yea... I'm still confused as to the whole point of pure/near-pure functional programming if we're not getting better code density/more productivity against other languages which I (and some others) find easier to work with. I guess all I'm saying is "convince me!" :) I'm all ears.
Why Functional Programming Matters: http://www.cs.utexas.edu/~shmat/courses/cs345/whyfp.pdf
Out of the Tar Pit: http://web.mac.com/ben_moseley/frp/paper-v1_01.pdf
Simple Made Easy: http://www.infoq.com/presentations/Simple-Made-Easy
Re: Clojure & Python, Side by Side
#17Re: Clojure & Python, Side by Side
#18Earlier quoted context omitted.
This occurred to me after I finished writing that post.
Yea... I'm still confused as to the whole point of pure/near-pure functional programming if we're not getting better code density/more productivity against other languages which I (and some others) find easier to work with. I guess all I'm saying is "convince me!" :) I'm all ears.
Re: Clojure & Python, Side by Side
#19Earlier quoted context omitted.
cough http://www.jython.org/ cough
How does Clojure's Java interop compare to Jython's?
Re: Clojure & Python, Side by Side
#20Earlier quoted context omitted.
This occurred to me after I finished writing that post.
Yea... I'm still confused as to the whole point of pure/near-pure functional programming if we're not getting better code density/more productivity against other languages which I (and some others) find easier to work with. I guess all I'm saying is "convince me!" :) I'm all ears.
if youve never done FP, then it does feel really weird. but once you are used to it, so many things become much easier.