News for hackers. Stuff that matters.
Re:Syntax Matters...? by kibwen on Monday April 16, 2012 @12:38PM (#3848091)
Could you define "sparse"? Perhaps illustrate it with a counterexample in a language that does not exhibit that property.

(Also, have you tried Dart, Coffeescript, or any of the dozens of other languages that compile to Javascript?)

Re:Syntax Matters...? by mattmanser on Monday April 16, 2012 @12:49PM (#3848149)
Sparse in that function can actually mean function, closure, class or class method.

Javascript also suffers from a cowboy layout problem where, for example, the initializer of a class may be anywhere. Most programming languages have established a convention to where it is (the top of the class declaration (e.g. Ruby, Python) or underneath class variables/properties (e.g. Java, C#)).

In Lisp it's even worse as it's not even obvious immediately what is a function or an argument as it's just on the position of the words.

I do keep meaning to give coffeescript a whirl, but feels it solves the symptoms not the underlying cause, so it's not that high on my 'try it' list.