commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Bollinger <thinma...@yahoo.com>
Subject Re: [math] Mutable "Vector3D"
Date Fri, 24 Apr 2009 18:50:56 GMT
Ted Dunning wrote:
> My view is that once it is immutable it is immutable.  Restoring mutability
> is done by making a new copy [...].

That position is stronger than you make it sound.  Changing a supposedly
immutable object so that it is mutable would itself be a mutation.  If it were
possible then the object in question was never genuinely immutable in the
first place.


John


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message