Brendan Eich brendan at mozilla.org
Tue Jun 17 21:11:07 PDT 2014

Kevin Smith wrote:
> Sorry for my previous gut reaction.  This looks like a good proposal, 
> but it makes a break with the evolutionary design of ES classes.

How so? @@create or @@new, either way something in ES6 is new that was 
not in classes-desugared-to-functions.

> Furthermore, when we were hashing out classes, several people 
> (including me I think) tried to suggest ways to maintain the `C() <=> 
> new C()` equivalence established by the built-ins, and it never really 
> took off.  I think maybe the reason is that that equivalence isn't 
> very useful.

I think Jason's proposal leaves this C ==== C[Symbol.new] condition a 
separate choice from everything else, and choosing the way you prefer 
does not break the rest of the design. Jason?


More information about the es-discuss mailing list