>>>>> "Vaidotas" == Vaidotas Didžbalis <vaid...@gmail.com> writes:

Vaidotas> So, one needs to remember and rehash some collections manually after
Vaidotas> mutable object is changed? Brrr. I will forget.

How else would it be?

If its identity-for-equality is based on its contents, how do you expect
the collection to reidentify it?

Note that IdentityDictionary doesn't suffer from this.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to