News for hackers. Stuff that matters.
Re:Signs that a startup is focused on stuff that doesn’t matter by akamaozu on Thursday November 03, 2016 @04:04PM (#12867449)
Really curious about the tangible gains of using ES6 over ES5.

Especially since ES6 is being converted to ES5 at the end of the day.

Re:Signs that a startup is focused on stuff that doesn’t matter by jmcgough on Thursday November 03, 2016 @08:32PM (#12869425)
Block scoping (using const/let instead of var which is scoped to the function) alone is really nice, but I also make heavy use of destructuring, arrow functions, template literals, export/import syntax and promises. Es6 makes javascript more pleasant to code with, and can greatly improve readability.

es6 has become pretty well supported by modern browsers, so maybe after a year or so, we'll just be calling it "javascript" and running it without babel. I expect everyone to continue to transpile, though, to get newer features as they come, as the plan for ES is to release new language updates on a yearly basis.

Re:Signs that a startup is focused on stuff that doesn’t matter by gtsteve on Thursday November 03, 2016 @04:20PM (#12867579)
It adds some extra nice language features to JS. It really is a good productivity improvement, especially with JSX which enables HTML literals: pretty much essential when working with a complex React front-end in my opinion.

My team has been using it for most of this year now and we've had no problems so far.