[cc-ing es-discuss] On Oct 1, 2011, at 1:59 , Juan Ignacio Dopazo wrote:
> On Fri, Sep 30, 2011 at 6:49 PM, Axel Rauschmayer <[email protected]> wrote: > Wasn’t it David Herman a while ago who listed a minimal feature list? For me > it would be: > > 1. Super property references (mainly methods) > 2. Super constructor references > 3. Subclassing (mainly wiring the prototypes) > 4. Defining a class as compactly as possible (with subclassing, it is painful > that one has to assemble so many pieces). > 5. Having a standard construct that fosters IDE support. Currently there are > too many inheritance APIs out there, making IDE support nearly impossible. > 6. A platform on which to build future extensions (traits!). > > I'll add a couple of things: > > 1. Don't forget super getters/setters. Those are helpful. Not sure how often they would be used and whether they need to be part of a minimal feature set. > 4. This should mean that there must be a way of setting class/static > properties Exactly, that’s one of the pieces. > 7. Encapsulation/privacy should be there somewhere. The private names proposal should work, as a first solution. -- 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

