4 ms·
JS ES2015. The syntax looks awful at first glance, but after heavily using it, there's much more power to this language now.
by tal_berzniz 10y ago
JS ES2015. The syntax looks awful at first glance, but after heavily using it, there's much more power to this language now.
- ralusek 10y agoThe syntax looks awful? It looks extremely clean. It cleaned up the JS syntax enormously...
- tal_berzniz 10y agoTalking mostly about things like: // 1. [a + b] // [a + b] is an array {[a + b]: c} // [a + b] is not an array // 2. { x, y: x, y} // inconsistent object fields and there are more examples. After you get to know the syntax, it can be used for good -- but some decisions are making the language more complex. As written above, I enjoy its new features
- capkutay 10y agoThis is the correct answer. Jokes aside, ES2015 hits the sweet spot for new powerful languages with big-name backers (facebook is compiled in babel). https://twitter.com/amasad/status/631251607422787584 https://twitter.com/amasad/status/631251607422787584
- WesleyJohnson 10y agoI'm in this camp as well. I've always enjoyed JS because I feel like I can get stuff done so much quicker. With ES6/2015, now I feel like it's far more powerful, elegant and fun to use.
- arisAlexis 10y agoWhat about ES7? Async await syntax is a game changer
- iends 10y agoasync/await is not in ES7.
- arisAlexis 10y agoWhere is it then?
- iends 10y agoTC39 is still working on it, it's in stage 3. https://github.com/tc39/proposals https://github.com/tc39/proposals