On 29 August 2011 09:29, Stéphane Ducasse <[email protected]> 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
:-)

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to