Sep 27 meeting notes
Brendan Eich
brendan at mozilla.com
Fri Sep 30 16:37:26 PDT 2011
On Sep 30, 2011, at 11:17 PM, Waldemar Horwat wrote:
>>> 2, 4, and 5 are the most important new features, and there isn't enough value in classes to add them without those.
>>
>> This seems like a fundamental conflict with "classes as sugar" unless we take the Object.defineProperty semantics as the "salty" long-hand to sugar.
>
> Without 2, 4, and 5, object initializers are close enough to make having an extra class facility not carry its weight.
I believe others don't feel that way. I'm interested in 4 at most, since we haven't come up with a way to do 2 and 5 that works, and object literals *do not* count as "sugar" for the constructor/prototype pattern. You need a bunch of manual nesting and assigning, even if we add |super| as Allen has spec'ed.
/be
More information about the es-discuss
mailing list