202 obsolete behaviors in 3.8gamma

Randal L. Schwartz merlyn at stonehenge.com
Sat May 7 12:58:52 UTC 2005


>>>>> "stéphane" == stéphane ducasse <ducasse at iam.unibe.ch> writes:

stéphane> Hi brent
stéphane> I'm not sure but in VW it is advised to do

stéphane> 	i become: String new    and not i become: nil

stéphane> The point explained to me was that  else you will have a lot of
stéphane> pointer pointing to nil while you would prefer to have them pointing
stéphane> on fresh objects that will be garbagecollected.

Well, in some VMs, "become:" is a swap, not unidirectional.  "become: nil"
would be a very very very (...) very bad thing to do.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the Squeak-dev mailing list