[squeak-dev] immutability

Ralph Johnson johnson at cs.uiuc.edu
Wed Mar 17 15:03:27 UTC 2010


> Googling a bit shows "sourcery" telling the comp.lang.smalltalk that
> Chronos (http://www.chronos-st.org/) does. Or did. Back in 2005, at any
> rate:
>

That is related, but different.  Chronos is using the common design pattern
of having instance variables set when an object is initialized but then
never changed.   The immutability being discussed here is the ability to
mark an object as immutable and then to be notified whenever someone tries
to mutate it  One is a design pattern, the other is a language feature.

-Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100317/88b48efd/attachment.htm


More information about the Squeak-dev mailing list