[Pharo-users] What's wrong with this code?

Sean P. DeNigris sean at clipperadams.com
Thu Mar 20 07:47:01 EDT 2014

Nicolai Hess wrote
> I think the ProgressNotification was only used in

IIRC we use announcements everywhere now for progress and
ProgressNotification is no longer used. You may have found a reference that
we forgot to remove. In general, progress is handled via aBlock asJob. Maybe
all other methods should be outright removed. There were so many access
points, maybe creating more spaghetti than convenience.

Background: one of my major drivers for revamping progress with Cami at ESUG
a few years ago was that I feel that using exceptions for non-exceptional
conditions smells funny. In particular, if you're interested in being
notified of progress, but the exception was handled already in code which
you don't own, you'll never know. With the announcement approach we take
now, all interested parties can register.

View this message in context: http://forum.world.st/What-s-wrong-whith-this-code-tp4749558p4749960.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

More information about the Pharo-users mailing list