[squeak-dev] Immutability and become

tim Rowledge tim at rowledge.org
Tue Jul 18 20:21:28 UTC 2017


> On 18-07-2017, at 1:10 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> ​+1 for making the whole object graph be immutable.
> 
> This really doesn't make sense as it prevents any kind of change at all, e.g. to the class hierarchy

Well, of course, really truly making it immutable would have to make everything in the image immutable too, so that nothing in its context could change. 

T’would certainly reduce future maintenance effort...

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
A bug in the code is worth two in the documentation.




More information about the Squeak-dev mailing list