should Character override shallowCopy?

Tim Rowledge tim at sumeru.stanford.edu
Tue Feb 19 03:43:49 UTC 2002


Doug Way wrote:

> I notice that VisualWorks returns true for "$a shallowCopy == $a", and other atomics in Squeak also return true (such as "3 shallowCopy == 3").
VW really rather has to behave that way since chars are immediate :-)
My opinion would tend towards making Character copy return the original,
making it behave manifest.


tim





More information about the Squeak-dev mailing list