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