[self-interest] Does Self have become:
Jecel Assumpcao Jr
jecel at merlintec.com
Tue Jun 22 00:55:41 UTC 2004
On Monday 21 June 2004 21:31, Michael Latta wrote:
> The subject says it all. Does Self have the equivalent of "become:"?
No, but it doesn't really need it. Note that there are two different
flavors of #become: in the Smalltalk world - the swapping version and
the forwarding version (if that is the right term).
The equivalent of the non-swapping version can easily (but not
efficiently) done as
a _AddSlots: b.
The swapping version is just a little more complicated.
More information about the Self-interest