News for hackers. Stuff that matters.
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!
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:

http://gist.github.com/468107

Code is data :)

Re:Clojure's edge on Node.js by twism on Thursday July 08, 2010 @10:46AM (#1497499)
Counted the same number of brackets in both Node.JS and Clojure examples.
Re:Clojure's edge on Node.js by kouPhax on Thursday July 08, 2010 @10:50AM (#1497518)
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.
Re:Clojure's edge on Node.js by abp on Thursday July 08, 2010 @05:15PM (#1498809)
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.
Re:Clojure's edge on Node.js by compay on Thursday July 08, 2010 @12:41PM (#1497886)
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?
Re:Clojure's edge on Node.js by nullstyle on Thursday July 08, 2010 @04:39PM (#1498694)
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.

Re:Clojure's edge on Node.js by compay on Thursday July 08, 2010 @11:46PM (#1499695)
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
Re:Clojure's edge on Node.js by kouPhax on Thursday July 08, 2010 @12:53PM (#1497928)
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)
Re:Clojure's edge on Node.js by compay on Thursday July 08, 2010 @11:37PM (#1499672)
That's a usability issue, not an aesthetic one.