News for hackers. Stuff that matters.
Re:Clojure & Python, Side by Side by phreakhead on Saturday November 19, 2011 @05:25PM (#3256485)
Python looks like a lot less typing.
Re:Clojure & Python, Side by Side by cageface on Saturday November 19, 2011 @06:29PM (#3256665)
And much more readable, without the parenthesis balancing dance.
Re:Clojure & Python, Side by Side by AlexBaranosky on Saturday November 19, 2011 @07:35PM (#3256828)
Just like English is soooo much more readable than German, because well, I don't know German :)
Re:Clojure & Python, Side by Side by ShardPhoenix on Saturday November 19, 2011 @10:37PM (#3257182)
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 by kleiba on Saturday November 19, 2011 @08:27PM (#3256934)
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 by cageface on Saturday November 19, 2011 @09:54PM (#3257093)
I know Common Lisp well, thanks. Only dabbled with Clojure.
Re:Clojure & Python, Side by Side by asmala on Sunday November 20, 2011 @03:26AM (#3257618)
I've started using Clojure after many years of Ruby and I have to say the parentheses are a non-issue. Emacs and many IDEs automatically balance the parens for you (see e.g. paredit). Once your eyes learn to ignore the bracket soup, the code starts looking an awful lot like Python (cmp. Emacs Lisp indention with Python semantic indention).
Re:Clojure & Python, Side by Side by jpeterson on Saturday November 19, 2011 @10:18PM (#3257143)
Funny, I was thinking the opposite -- the Clojure code is far more readable.