How to fix the `class` keyword

Benjamin (Inglor) Gruenbaum inglor at gmail.com
Wed Mar 4 13:03:19 UTC 2015


Did you seriously just plug your blog post in es-discuss?

Are you really explaining the open-closed principle and composition vs
inheritance to a mailing list of people interested in language design?

About why class is added:
https://esdiscuss.org/topic/is-class-syntax-really-necessary

ECMAScript would have looked different had it been designed from scratch
today - but given your criticism everything apart from mixins for classes
is impossible without breaking compatibility and mixins are being explored
separately anyway.

From: Eric Elliott <eric at paralleldrive.com>

> I've already posted this on my Medium blog here:
https://medium.com/@_ericelliott/how-to-fix-the-es6-class-keyword-2d42bb3f4caf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150304/b0e2e06b/attachment.html>


More information about the es-discuss mailing list