caniglia at dm.uba.ar
Mon Oct 19 15:50:06 UTC 1998
Experiencing problems with the identity of Characters I realized that
$a clone = $a -> false.
In other words, it is allowed to #clone or #shallowCopy a Character but #=,
being implemented in Character, answers false when the copies are compared
with the original objects.
I overridden #clone and #shallowCopy in Character answering self. Is this
"Although it is quite possible to write programs which depend on the byte
size, this is an illegal act which will not be tolerated" Donald E. Knuth,
The Art of Computer Programming, Vol 1.
More information about the Squeak-dev