Earlier quoted context omitted.
That's like saying you won't use Rails because it's written in Ruby and not C. Also, it's nice to work in a language that has the right features and not just all the features. I like CoffeeScript as much for what it doesn't have as for what it does have. I recently saw this piece of code: new Array(26) .map(function (item, index) { return String.fromCharCode(65 + index); }) as a "heads up" for map lovers. That's the…
const caps = new Array(26).map((item, index) => String.fromCharCode(65 + index)); It's not wrong. Could maybe be better though.
const caps = new Array(26).map((item, index) => String.fromCharCode(65 + index));
Shorter, easier to reason against. const caps = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');