2011/5/4 andres <[email protected]>: > Hi Panu. I don't know if immutability is available in Pharo, but if it is it > may work for you. You basically mark an object as immutable and register an > exception handler. When an immutable object's i.v. is assigned a new value, > an exception is raised and the assignment is left pending. There you can log > the change and effectively apply the assignment to the object.
This sounds good but it seems that Squeak VM does not yet contain immutable objects. I am not sure. -- Panu
