If we remove self halt, then I won't be able to use `1halt.`. :-D which is
actually what I always do, because writing `self halt` is 4 characters tooo
long. :)

On Wed, Apr 4, 2018 at 9:40 PM, Sean P. DeNigris <[email protected]>
wrote:

> Peter Uhnák wrote
> > Would it be possible to instead have a #haltIf object to which you can
> > send
> > additional conditions?
>
> Maybe we could use that as an excuse to clean more halting out of object
> completely e.g.
> self halt now
> self halt once
> self halt ifInsideTest
> self halt ifOutsideTest
> self halt xyz
>
> Although IIRC when we first started cleaning the idea was too eventually
> remove all halt-related stuff from Object and only have `Halt xyz`. At the
> time, it seemed that was a little too scary, but even today I do not
> understand what objectively is gained by `self halt` vs. `Halt now`…
>
>
>
> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>
>

Reply via email to