Joern Huxhorn wrote:
Marking an object instance immutable
conveys intent. You can build additional logic on top of the
immutability hypothesis. If someone intentionally circumvents
immutability, the ensuing problems are theirs, not ours.
>
That's exactly what I was trying to say in the foll
Ceki Gulcu wrote:
> Hello Joern,
>
> Joern Huxhorn wrote:
>
>> Ok, I *do* understand what immutability is *supposed* to be about but
>> reality is quite different. In the two languages that I know best - Java
>> and C++ - constness and immutability can be circumvented easily.
> The fact that immuta
Hello Joern,
Joern Huxhorn wrote:
Ok, I *do* understand what immutability is *supposed* to be about but
reality is quite different. In the two languages that I know best - Java
and C++ - constness and immutability can be circumvented easily.
The fact that immutability can be circumvented by t