Operator overloading revisited

Mike Wilson mikewse at hotmail.com
Tue Jul 21 18:07:53 PDT 2009


Brendan Eich wrote:
> If you're worried that the 'class' keyword will hypnotize 
> the masses into locking things down overmuch, then you 
> don't trust the masses very much. They'll mostly avoid 
> new stuff, and any who get burned by inability to monkey-
> patch (which is *not* an unmixed blessing) will retreat, 
> and probably start a "don't use 'class'" movement.
> 
> This is not 'final' in Java (which pace Mark, I believe 
> was overused, including in the standard library, but 
> which also has different enough semantics that I wouldn't 
> drag it in here as a precedent. We're talking about sugar 
> for ES3 and ES5 facilities already implemented, or nearly 
> implemented.

Will class inheritance then desugar to classical 
prototype/constructor assignments?

Best regards
Mike Wilson



More information about the es-discuss mailing list