> Last concrete disagreement we had was over new C() vs. C() in the current 
> language being notably different from new C() vs. C.constructor() in the 
> alternate-reality language with prototypes as classes.


As in “don’t mix too well”. I agree with that. That will be a challenge for 
class literals. But the abstraction argument might apply to both cases: If 
people see a class C, they just want to instantiate it via new C(x,y). As long 
as instanceof works accordingly afterwards, I’m not sure much has changed 
*superficially*.

-- 
Dr. Axel Rauschmayer

[email protected]
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to