Squeak programming question

Marcel Weiher marcel at system.de
Tue Mar 23 06:59:24 UTC 1999


> The sender of a method can be obtained by sending sender to
> thisContext. I am suggesting adding a new pseudovariable (something  
> like self, super, etc.) that would access the caller directly. I  
think that
> this would provide the symmetry mentioned by Alan earlier.

I can't speak for Alan, but my understanding was that this is not  
sufficient for the symmetry he was talking about.  The reason is that  
sending messages to the caller-object does not return the objects to  
the calling method.  What you need to get this sort of symmetry is  
(at the least) some sort of co-routine concept.

Marcel





More information about the Squeak-dev mailing list