News for hackers. Stuff that matters.
Re:A summary of ECMAScript 6 features by qzcx on Sunday February 15, 2015 @10:28AM (#9052840)
While a lot of these changes are cool, I'm worried that starting to work with javascript just got a lot harder. Although, I do appreciate the Class foo extends bar {...} syntax, now maybe we can have one simple way of doing inheritance which is readable to someone new to javascript.
Re:A summary of ECMAScript 6 features by mmebane on Sunday February 15, 2015 @11:33AM (#9053057)
A lot of it just feels like cleaner versions of patterns people have been using for a long time. There's a few things I'm worried about:

* Tagged template strings might have some potential to be abused in interesting ways, since it looks like the tag function doesn't actually have to return a string.

* The Object destructuring/enhanced literals (and the Object rest/spread proposal in ES7) still take a lot of mental energy for me to parse. I'm worried they could be a maintenance liability in large projects, but that remains to be seen.

* Async functions/generators in ES7 will probably take a while to get used to, as well, but I felt the same way about Promises when they were first introduced, and they didn't turn out to be too bad. I don't have an issue with normal Promises/generators, so this might just be a matter of me needing to see the async stuff as a whole instead of the sum of its parts.

Re:A summary of ECMAScript 6 features by cwmma on Sunday February 15, 2015 @11:42AM (#9053087)
> A lot of it just feels like cleaner versions of patterns people have been using for a long time.

This was a pretty explicit goal, what they called 'paving the cow path'