4 ms·
Could you define "sparse"? Perhaps illustrate it with a counterexample in a language that does not exhibit that property. (Also, have you tried Dart, Coffeescr
by kibwen 15y ago
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?)
- mattmanser 15y agoSparse 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.