ECMAScript 6 Is Officially a JavaScript Standard
rjmarvin writes: The ECMAScript 6 specification is now a standard. ES6 is the first major revision to the programming language since 1999 and its hallmark features include a revamped syntax featuring classes and modules. The Ecma General Assembly officially approved the specification at its June meeting in France, ECMAScript project editor Allen Wirfs-Brock announced.
I hate how legacy browsers act as stones around our necks.
So they just gave up on the whole prototype system and duct taped class-based OO on top of it? That's actually kind of sad -- It was a special aspect of Javascript that set it apart from other languages, and homogenization is boring. I guess maybe today's "Javascript developers" just couldn't wrap their heads around it.
They did not give up on the prototype system. To quote from the link you shared:
ES6 classes are a simple sugar over the prototype-based OO pattern... Classes support prototype-based inheritance, super calls, instance and static methods and constructors.
It's just sugar. It's all prototype inheritance underneath the sugar, and you are still free to not use the sugar and keep using prototype inheritance like you always have.
> Biggest problem being "everything is a global"
6 months, and you did not figure out how Javascript scoping works? ... and you went back to perl ...
ouch.
Of course we figured it out. The answer was "very poorly".