Re:Making Coffeescript’s Whitespace More Significant
by raganwald on Wednesday November 30, 2011 @03:17PM
(#3296708)
Java(S|s)cript != Coffee(S|s)cript
:-)Lisp does not consider indentation significant, Python does. Smalltalk has cascading messages, Ruby doesn’t. I think these are simply design choices, and the goal is to find a set of choices that work together harmoniously.
Note that my proposed syntax still allows you all the chaining you want.
To me chaining demonstrates just how flexible JavaScript is, rather than pointing out a fundamental missing language feature. In fact, by avoiding adding language features like this, I feel like the language is simpler and allows me to be more creative within its constraints.