|
From: Avi B. <av...@be...> - 2004-04-08 18:02:52
|
On Apr 8, 2004, at 9:16 AM, Ian Piumarta wrote: > Which reminds me, for V4 the following might be on my wishlist too: > > - separate the notion of "self" and "receiver". > > For most purposes they remain the same thing. Within > #doesNotUnderstand: (or in some kind of explicit primitive #perform: > type thing that allows divergence) they can be made different objects. > Receiver inst vars remain with the "receiver" definition, while sends > to self remain with the "self" definition. > > This allows (for example) "bullet-proof proxies" where #dNU: sets > receiver to the object that fields the send and retains the proxy as > "self". Any subsequent send to self goes straight back to the proxy, > rather than the receiver, without affecting how state is accessed > within the receiver; i.e., it's completely transparent to the > (non-meta ;) programmer. Yes, please, I'd love to have that. |