String hierarchy (was: UTC-8 (was ...))

Bob Arning arning at charm.net
Mon Mar 20 02:53:49 UTC 2000


On Sun, 19 Mar 2000 21:29:37 -0500 "Andrew C. Greenberg" <werdna at gate.net> wrote:
>>I think that one can make a compelling argument that strings should 
>>be completely immutable.
>
>By all means make it.  It would be nice if someone would spell it 
>out.  I can think of many advantages an implementation could use to 
>take advantage of this,  (thin string slices, substrings, etc.), but 
>unsurprinsingly there are costs as well.  Why not support both types?

Yes, support both. Furthermore, I think that the *option* of immutability is useful for all sorts of objects, not just strings. 

Cheers,
Bob





More information about the Squeak-dev mailing list