Hacker News new | ask | show | jobs
by atburrow 3931 days ago
This is great news. I'm especially excited about the new ECMA6 features (arrows, etc.)
4 comments

Right before the release they upgraded to the new V8 version 4.5. Having native support for arrow function. So exciting so start using them.
The new class syntax and arrow functions are huge, I'm in love.
Can't wait to start using ECMA6 natively
Yeah, this is rad, as I imagine there's some overhead to running the transpiled babel ES6 code compared to running the native ES6 features. At least some things may be faster - I remember lexical block scoping (let and fat arrow) causing perf issues in traceur.

Now I just need to be able to rely on these features being present in the browser so I can just write native ES6 everywhere and skip that build step entirely.

Not just performance overhead, but also the overhead of maintaining and configuring the extra bits of toolchain.
We've been using a concept of a "esnextguardian" to be what our package.json main points to, it then tries and loads the es6+ version and if that fails, fallbacks to the compiled es5 version. It's been working quite well for all our different Bevry projects. More info: https://github.com/bevry/base#esnextguardian
For a second I thought John Hughes' arrows were being introduced. Seems it's just the "arrow" in the syntax.