3 ms·
That's an extraordinarily reductive view of improvements to a programming language. A basic example: cleaner syntax for anonymous functions will have (presumabl
by tragic 11y ago
That's an extraordinarily reductive view of improvements to a programming language. A basic example: cleaner syntax for anonymous functions will have (presumably) almost no effect on speed/memory either which way, but will make code more readable. Which is not a 'hipster' concern.
- coev 11y agoAlso: "this" is bound for you in fat arrow functions without having to resort to function.prototype.bind or "var that = this;" trickery. That's an issue I've seen bite many people before and it'll be nice to have an easy way to avoid that.
- TazeTSchnitzel 11y agoIt's the difference between var map = function (f) { return function (list) { return list.map(f); }; }; and const map = f => list => list.map(f);