3 ms·
The first instinct of a beginning JavaScript developer on seeing that code would be to reformat it. Not as much with the CoffeeScript code. Also what would the
by benatkin 15y ago
The first instinct of a beginning JavaScript developer on seeing that code would be to reformat it. Not as much with the CoffeeScript code. Also what would the beginning CoffeeScript programmer reformat it to? With the JavaScript code, just removing the extraneous whitespace ought to work.
Also you didn't account for the widely-deployed technology of paren/bracket matching.