Re: Re: Mutable Bytes
"Mark Hahn" <[email protected]> Tue, 27 Jul 2004 10:36:59 -0700
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <007701c47400$5207ee50$da01a8c0@walker> |
----- Original Message ----- From: "Martin Christensen" >I'm all for letting strings be 'mutable until hashed' (put that in >your bon and smoke it! :-)), and setImmutable() sounds like a good >idea. However, as far as dictionary keys are concerned, I think that >immutability is required for an object's dictionary key, the function >that returns it should call setImmutable() itself. Does this make >sense? I'm not sure what all you are suggesting, but I don't want something as important as the mutability of an object to change invisibly as the side effect of some other operation. Too implicit.