How to fix the `class` keyword (Brendan Eich)

Brendan Eich brendan at mozilla.org
Fri Mar 6 01:56:02 UTC 2015


Eric Elliott wrote:
> Thanks Brendan. This is very helpful indeed! Where can I learn more 
> about that solution?

I know of this gist: 
https://gist.github.com/wycats/0bd8f14066e44ed7b90e. Cc'ing wycats.

> I assume for backwards compatibility, this will not be default 
> behavior, so we're going to have to remember to use this boilerplate 
> with every class if we don't want them to be broken, right?

Some opt-in syntax will be required. Decorators (also on agenda) should 
minimize the overhead.

/be


More information about the es-discuss mailing list