Dec. 5, 2012
12:08 a.m.
On 5 December 2012 00:48, Camillo Bruni <camillobruni@gmail.com> wrote:
I am always confused about the snapshot behavior. Yes, it returns true when we are in the new image, but this is far from obvious :/.
How about a more explicit method for snapshotting and continue with different code in the new / old image:
self stuffInCurrentImage.
Smalltalk snapshotIfNew: [ self stuffInNewImage ] IfCurrent: [ self stuffInCurrentImage ]
self stuffInCurrentAndNewImage.
+1 just s/image/session/g :) -- Best regards, Igor Stasenko.