Minimalist Classes

Allen Wirfs-Brock allen at
Tue Nov 1 11:06:48 PDT 2011

On Nov 1, 2011, at 10:57 AM, Brendan Eich wrote:

> On Nov 1, 2011, at 10:47 AM, Dmitry Soshnikov wrote:
>> The technique I showed of course initially is designed to be used with class-system; though, I think it can be adopted to class-free system as well.
> We're not going to delete and restore. That's a non-starter for performance and observable mutation reasons.

the mutation is so wrong, and not just for performance reasons.

Assume x is global constant reference to an obj and foo is a method of that object that does a call up through several levels of  "superclass" foo methods.

In that case the expression "" when called  from "somewhere else, such as from a top level expression", is going to do something different then what it does when called (either directly or indirectly) from a super invocation of one of the superclass foo methods.  That can't be reasonable behavior.


More information about the es-discuss mailing list