Is there something in SELF like "become" in smalltalk?

mpaap michael at mpaap.de
Wed Jan 8 20:38:07 UTC 2014


Hello SELF-group,

I am writing a term paper about SELF and would like to ask some questions in
the next days.
I have got some years of experience in Java and some basic knowledge about
smalltalk.

Mir first questions: 

1. Is there something like Smalltalk's "become:" in SELF? A message, which
causes replacing all references to the receiver with references to the
parameter?

2. In chapter 2.3.4 of the SELF handbook explicit messages to self are
described as "bad style" because of the facht, that this would prevent
searching in local slots (of the activation object) before searching in the
receiver. Ok. But the only case I can see, where this would do any harm, is,
if a parameter slot of the message has the same name as a slot of the
receiver. Can you give me another example?

Thanks in advance,
Michael



--
View this message in context: http://forum.selflanguage.org/Is-there-something-in-SELF-like-become-in-smalltalk-tp7572538.html
Sent from the Self mailing list archive at Nabble.com.



More information about the Self-interest mailing list