11 ms·
Not a massive fan of clojures syntax though - that example is like bracket city!
by kouPhax 16y ago
Not a massive fan of clojures syntax though - that example is like bracket city!
- stanleydrew 16y agoPeople say similar things about javascript.
- twism 16y agoCounted the same number of brackets in both Node.JS and Clojure examples.
- kouPhax 16y agoThat may be but it doesn't stop the clojure code looking messy IMHO. Feels less structured (again IMHO)
- khingebjerg 16y agoIn my eyes it's more structured, since it's all data structures.
- abp 16y agoThis sounds like: I don't know how clojure works. I know how clojure works. ...
- francoisdevlin 16y agoIt's not bracket city, those are all Clojure data structures. The example could also be written like this: http://gist.github.com/468107 http://gist.github.com/468107 Code is data :)
- compay 16y agoSyntax aesthetics shouldn't be an important metric for technology choices.
- kouPhax 16y agoThey "shouldn't" be, but more often than not they are. At least in my experience of try to introduce people to new languages/technologies.
- Calamitous 16y agoWhy 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?
- deleted 16y ago[deleted]
- nullstyle 16y agoFor 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.
- compay 16y agoBecause 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.
- LaPingvino 16y agoI get lost easily in non-lisp-code nowadays =x The unwritten standard for lisp indentation works out quite readably
- InclinedPlane 16y agoCounter-point: http://en.wikipedia.org/wiki/Brainfuck http://en.wikipedia.org/wiki/Brainfuck
- 16y ago