We avoid freeze-didacticism in general ;-) -- is there a strong reason to 
freeze in this example?

/be

On Jan 26, 2011, at 2:51 PM, David Bruant wrote:

> Le 26/01/2011 22:31, Brendan Eich a écrit :
>> On Jan 26, 2011, at 11:02 AM, David Bruant wrote:
>> 
>>>> On the question of proxy parameters for all traps (well, receiver for get 
>>>> and set): fewer args are better, and closure capture of proxy by handler 
>>>> avoids leaking the proxy to handler friends, if that matters. Likewise you 
>>>> can't get the handler from the proxy.
>>> If you handlers are frozen, there should be no leaking, shouldn't there? (I 
>>> actually think that freezing the handler should be done in the no-op 
>>> forwarding proxy example or any handler factory, but that's another issue).
>> No default freezing is going to be imposed. :-|
> I didn't mean to impose freezing objects, sorry for the
> misunderstanding. I was more going for highly encouraging people to do
> so by showing it in the no-op forwarding proxy example.
> 
> David

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to