[Cuis-dev] Immutability package

ken.dickey at whidbey.com ken.dickey at whidbey.com
Fri May 8 08:20:13 PDT 2020


On 2020-05-08 15:15, Juan Vuletich via Cuis-dev wrote:
> On 5/8/2020 11:58 AM, ken.dickey--- via Cuis-dev wrote:
>> Ah.  Why this is important.
>> 
>> I forgot to say that the objects which remember the Rope/UniString 
>> state should also be immutable.
> 
> Not sure what does this mean. Can you give an example?

Sorry. I am "speaking" badly.

What I mean is that all instances of Ropes and their subclasses 
are/should-be immutable (FlatRope, ConcatRope et al).

Instances of Rope subclasses _are_ the data structures which remember 
things.

Old CS Speak.  Pre-Objects.  Sorry to confuse.

-KenD


More information about the Cuis-dev mailing list