Is private really private?

Herby Vojčík herby at mailbox.sk
Tue Jan 3 04:49:44 PST 2012


Hello,

form what I understood in the class proposal, I can write a code like this:

(function () { return private(this).foo; }).apply(objectWithPrivateFoo);

and it will work.
Is it so? Isn’t  then the notion of "per-object private" impossible having 
dynamic language with first-class function and apply/call?

Herby 



More information about the es-discuss mailing list