[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: throw-catch :cancel



In article <v02110105abf8da609000@[198.112.74.171]>,
>
>I've previously expressed the opinion that handling the cancel button on
>dialogs by doing a throw to :cancel is just a bad idea.  It should signal a
>condition, just like anything else.  This would allow the user to use a
>global condition handler instead of a stack-based one which wouldn't be
>applicable when the event is handled in another process.

Is the more general statement true?
Are throw/catch obsoleted by conditions in general?
(I came in after conditions were invented.)

Also, you seem to leave out the possibility of
per-thread condition handlers.  Did you mean to do that?

Dave Yost
    @    .com