New private names proposal

Oliver Hunt oliver at apple.com
Thu Dec 23 16:02:29 PST 2010


As a question how do soft fields/private names interact with an object that has had preventExtensions called on it?

Are they entirely independent of normal property rules?

--Oliver

On Dec 23, 2010, at 3:57 PM, David-Sarah Hopwood wrote:

> On 2010-12-23 23:51, Allen Wirfs-Brock wrote:
>> I believe that your  "camp" wants to think of soft fields, stored in a
>> side-table, as extensions of an object.  My "camp" thinks of such
>> side-tables as a means of recording information about an object without
>> actually extending the object.
> 
> These are obviously alternative views of the same thing -- as MarkM and
> I have made clear throughout. It really doesn't matter whether you view
> the object has having been "extended" or not, if that is semantically
> unobservable.
> 
> (And I don't like people trying to tell me what "camp" I'm in, thankyou.)
> 
> -- 
> David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list