On Aug 29, 2011, at 12:56 PM, Lukas Renggli wrote:
On 29 August 2011 09:29, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
and we could keep all the Object method in a extension of the halt packages and just some of them as forward to Halt.
I know that there was an attempt on the inbox to do that. But I was worried that people will complain. Now cleaning Object would be nice.
Backward compatibility is good, but in this very case I would argue against it. Code that has "self halt*" in it (and that is quite a bit), is broken by definition.
why not Halt ifTrue: [a = 2].
The condition is in the argument, not the receiver. What you suggest would be very confusing change to Boolean>>ifTrue: aBlock, I suspect :-)
Yes I was getting out my bed and still sleeping. :)
Lukas
-- Lukas Renggli www.lukas-renggli.ch