According to [the repo]( https://github.com/tc39/proposals/blob/master/finished-propo... ) only one minor feature had reached stage 4 since last year. Not sure why this is on top HN.
ECMAScript 2018 Language Specification
31–40 of 49 posts
Re: ECMAScript 2018 Language Specification
#32Im honestly not trying to be like TLDR, but a revision log would be immensely appreciated.
Re: ECMAScript 2018 Language Specification
#33This page is confusing because it describes itself as ECMAScript 2018 but the features it lists are those I've associated with ECMAScript 2017. Looking at the Github repo, you can see that they changed it from 2017 to 2018 on March 31st: https://github.com/tc39/ecma262/commit/8340bf9a8427ea81bb0d1... So what happened to 2017?
Re: ECMAScript 2018 Language Specification
#34Optional catch binding[0], which is at stage 3, seems like a bad idea[1] and has been pointed out as such[2] [0] http://2ality.com/2017/08/optional-catch-binding.html [1] http://wiki.c2.com/?EmptyCatchClause [2] https://github.com/tc39/proposal-optional-catch-binding/issu...
Re: ECMAScript 2018 Language Specification
#35That document is an incomplete working DRAFT for the next edition of the ECMAScript standard. Don't assume that the current snapshot is feature complete.
Re: ECMAScript 2018 Language Specification
#36Optional catch binding[0], which is at stage 3, seems like a bad idea[1] and has been pointed out as such[2] [0] http://2ality.com/2017/08/optional-catch-binding.html [1] http://wiki.c2.com/?EmptyCatchClause [2] https://github.com/tc39/proposal-optional-catch-binding/issu...
Re: ECMAScript 2018 Language Specification
#37[1]: https://github.com/tc39/proposal-async-iteration [2]: https://github.com/tc39/agendas/blob/master/2017/11.md
Re: ECMAScript 2018 Language Specification
#38I hoped decorators[1] would make it, but seems unlikely (looks like they're still at stage 2). [1] https://github.com/tc39/proposal-unified-class-features
Re: ECMAScript 2018 Language Specification
#39I hoped decorators[1] would make it, but seems unlikely (looks like they're still at stage 2). [1] https://github.com/tc39/proposal-unified-class-features
Having spent a long time with Java I believe I understand the limits of this style of coding; in my considered opinion, composition is almost always better than inheritance. This is true regardless of the type of inheritance, be it prototypal or class-based (in appearance or reality). Therefore, adding features to JS to make class-like inheritance slightly better is not a trade-off I would make, favoring a simpler la…
Where decorators are sugar for higher order functions, even capable of `Class -> Class` transformation, which makes them much different from Java annotations.
Re: ECMAScript 2018 Language Specification
#40ECMAScript is an object-oriented programming language for ...
heavy sigh