Live data from Hacker News

Clojure & Python, Side by Side

tin.nu

41–50 of 67 posts

Re: Clojure & Python, Side by Side

#44

Earlier quoted context omitted.

And much more readable, without the parenthesis balancing dance.

Just like English is soooo much more readable than German, because well, I don't know German :)

True, but for instance I know neither Python nor Clojure, and yet Python looks more accessible on first glance - even though I have some experience with other LISPs.

Re: Clojure & Python, Side by Side

#45

Earlier quoted context omitted.

And much more readable, without the parenthesis balancing dance.

Just like English is soooo much more readable than German, because well, I don't know German :)

I know Common Lisp well, thanks. Only dabbled with Clojure.

Re: Clojure & Python, Side by Side

#47

Earlier quoted context omitted.

And much more readable, without the parenthesis balancing dance.

Just like English is soooo much more readable than German, because well, I don't know German :)

I found the Python more readable even though I have written programs in Clojure and never written programs in Python. In fact I'd be willing to bet that Python-like syntax would be found to be more readable than Lisp-like syntax for programmers with N years of experience in that language, if such a study could be conducted. (ie, I'd bet that an average programmer with 5 years of Python experience and nothing else can correctly read programs faster than an average programmer with 5 years of Clojure experience and nothing else (not that the latter exists)).

Re: Clojure & Python, Side by Side

#50
post #4

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 excellent concurrency support. Clojure has a focus on functional programming, immutable data[1] and the sequence abstraction[2]. Clojure is a Lisp and has most[3] of the super-powerful metaprogramming facilities that you would expect from a Lisp. This means you can, with enough effort, mold the language to suit your needs, even turning it into a completely different language should you wish to do so. Cloj…

Clojure is NOT a Lisp at all. It lacks one of the most essential abilities of original Lisp - recursive function definition.

Stop repeating things you don't know.^_^

Post reply on HN