Sep 27 meeting notes
erik.arvidsson at gmail.com
Thu Sep 29 18:58:52 PDT 2011
On Thu, Sep 29, 2011 at 18:38, Waldemar Horwat <waldemar at google.com> wrote:
> Yes, it's easier, but you'd also lose any convenient way of doing 5. 2, 4,
> and 5 are the most important new features, and there isn't enough value in
> classes to add them without those. If you find it difficult to come up with
> a proposal that can accommodate them, it's a sign that you're about to
> design yourself into a corner.
>> 1. Don't let uninitialized objects escape
>> 2. Ensure the shape of the instance
>> 3. Initialization of instance properties
We have these today and it is not a big problem. Python and Ruby also
gets by here.
>> 4. Allow const classes
>> 5. Allow const properties
Object.defineProperty works for me.
>> 6. Play well with future type guards
More information about the es-discuss