4 ms·
If you also explicitly store the FSM state itself, then sure, that's true. But in my experience, in almost all of these cases, the flags are stored in lieu of
by derefr 4y ago
If you also explicitly store the FSM state itself, then sure, that's true.
But in my experience, in almost all of these cases, the flags are stored in lieu of an FSM state; with the current FSM state implicit as a constraint-solution over the current set of predicate-answers. Which allows for incoherent states, because no FSM is actually being modelled in the business logic — even though the underlying business process the code is supposed to be modelling is inherently one involving state transitions.