Re:Clojure's edge on Node.js
by kouPhax on Thursday July 08, 2010 @09:58AM
(#1497312)
Not a massive fan of clojures syntax though - that example is like bracket city!
[ Parent
| on HN ]
Re:Clojure's edge on Node.js
by francoisdevlin on Thursday July 08, 2010 @10:51AM
(#1497523)
It's not bracket city, those are all Clojure data structures. The example could also be written like this:
Code is data :)
Counted the same number of brackets in both Node.JS and Clojure examples.
That may be but it doesn't stop the clojure code looking messy IMHO. Feels less structured (again IMHO)
Re:Clojure's edge on Node.js
by khingebjerg on Thursday July 08, 2010 @11:11AM
(#1497585)
In my eyes it's more structured, since it's all data structures.
This sounds like:
I don't know how clojure works.
I know how clojure works.
...
Re:Clojure's edge on Node.js
by stanleydrew on Thursday July 08, 2010 @10:39AM
(#1497481)
People say similar things about javascript.
Syntax aesthetics shouldn't be an important metric for technology choices.
Re:Clojure's edge on Node.js
by Calamitous on Thursday July 08, 2010 @01:53PM
(#1498152)
Why not? Aesthetics improve readability and maintainability, (probably) trading out for less raw speed. If I'm less concerned about performance than maintainability, why shouldn't aesthetics play a large role in my decision?
For me, unfamiliarity with a syntax is easy to confuse as poor aesthetics of the syntax.
I got to the point of understanding and enjoying clojure's syntax very quickly.
Because it can lead you to make arbitrary choices. People usually disagree vehemently on matters of aesthetics. I didn't say it shouldn't play any role, it just shouldn't be an important one. Focus too much on syntax over semantics and you're bikeshedding.
Re:Clojure's edge on Node.js
by LaPingvino on Friday July 09, 2010 @06:47AM
(#1500282)
I get lost easily in non-lisp-code nowadays =x
The unwritten standard for lisp indentation works out quite readably
They "shouldn't" be, but more often than not they are. At least in my experience of try to introduce people to new languages/technologies.
Re:Clojure's edge on Node.js
by InclinedPlane on Thursday July 08, 2010 @04:57PM
(#1498750)
Counter-point: http://en.wikipedia.org/wiki/Brainfuck