3 ms·
Crazy scoping rules? Crazy conversion rules? 8 character lambda keyword? Crappy numeric type? It's safe to say it sucks. It's understandable, given the 10 day t
by MichaelGG 11y ago
Crazy scoping rules? Crazy conversion rules? 8 character lambda keyword? Crappy numeric type? It's safe to say it sucks. It's understandable, given the 10 day timeframe it was created in plus the constraint of needing to be "like" Java for cachet. It's less understandable how so many have doubled down on it.
And even new APIs suck. Look at the silliness npm encourages people to do.
- michael_fine 11y agoAt least the scoping and verbose lambda problem have been solved in ES6, with the introduction of let-vars and fat arrow functions, respectively.