Originally posted by Frank Carver:
In general the benefits of an explicit finite state machine appear when the state transitions get complex.
And if your FSM is complex the program code can become rather tedious - one of the reasons why Robert C. Martin wrote the first incarnation of SMC to generate the FSM program code from a state transition table. Object mentor now has a
Java version available. Look for
SMC - Finite State Machine Compiler (Java) on the object mentor web site's
Resources-Downloads page.