News for hackers. Stuff that matters.
Re:Rage Against the Finite-State Machines by rdtsc on Sunday April 03, 2016 @10:14AM (#11416157)
> Akka FSMs have a whenUnhandled state which can handle any event that your FSMs don't explicitly handle.

Erlang's gen_fsm has that too:

http://erlang.org/doc/man/gen_fsm.html#Module:handle_event-3

However that is a dangerous anti-pattern usually. More often than not, I want the actor to crash and have a proper trace and notification of it most of the time than have it go to some unspecified state and hang around forever in that broken state.

There are no comments on this comment yet.