Hacker News new | ask | show | jobs
by jsingleton 3655 days ago
So, ECMAScript 2015 is ES6 and ECMAScript 2016 (this) is ES7 [0]. I like the new features (promises, arrow functions etc.) but the naming is as confusing as Visual Studio. VS 2015 is the current version but VS 15 is the next one.

[0] https://en.wikipedia.org/wiki/ECMAScript

2 comments

They decided on the "ECMAScript YYYY" naming format a while before the 2015 spec was finalized. Many people in the community continued to call things ES6 and ES7, but those aren't the official names.
I guess it's just a lot easier to type (and even say). For example, the current discussion on TypeScript: https://news.ycombinator.com/item?id=11920451

At least they didn't use 5 digit years. :)

ECMAScript is going to be updated on an annual basis now, so it is easier to just use the year going forward.

Promises and arrow functions are ES2015 features, by the way. Already directly supported in a slight majority of the browsers in use: http://caniuse.com/#search=arrow

We should just call it ES15 and ES16.
But then what about ECMAScript 2024 and ECMAScript 2025?
ES24 and ES25?
Yeah, I was referring to new feature in ES2015/ES6, but really I mean just new ES features in general are good. It's just the naming that's problematic.

Even http://caniuse.com/#feat=arrow-functions says:

  > See support for arrow functions (ECMAScript 6)
Gotcha. Yeah, but hopefully the naming problem is temporary because it's a new change. If we see people referring to ES2017 as ES8, then we'll know the new naming had failed.