Front page | perl.perl6.language |
Postings from September 2005
Re: Exceptuations
Thread Previous
From:
Ruud H.G. van Tol
Date:
September 29, 2005 05:15
Subject:
Re: Exceptuations
Message ID:
042101c5c4ef$72ebefe0$0b01a8c0@isolution.nl
TSa schreef:
> Yes, I'm also all for unifying the concepts. But please
> don't let us call it exception. Exception should be a
> termination oriented (sub)concept. Some kind of scoped giving
> up. [...]
> In lack of a better word I use Event and we get
> Event::Exception, Event::Control, Event::Warn and
> possibly Event::Hint, Event::Log and Event::Fun :)
>
> The only drawback of choosing 'Event' might be that it
> smells too GUIish for some? Or is that a feature? That is
> we get Event::GUI::press, Event::GUI::scroll, Event::GUI::expose,
> etc.
FSM etc.
http://en.wikipedia.org/wiki/Event_driven_finite_state_machine
Running Perl code can be seen as an ATN (an FSM on steroids, says
http://smc.sourceforge.net/SmcFaq.htm).
An exception-handler can be allowed to pop more states than it is good
for.
--
Grtz, Ruud
Thread Previous