What alternatives exist for modeling complex behavior with state machines?

I read about the many drawbacks of using state machines, but I really did not see alternative patterns for modeling complex behavior - are there any?

+5
source share
1 answer

Could you give us some links? Usually I see that FSM are written in radiant conditions. If you really have FSM, they are not so difficult to implement, and they have many advantages. Many times, however, people think that they have FSM, but what they really have is a simple procedure that goes through several steps. In this case, a key alternative to consideration is the Template Method design template .

FSM , , Template Method, . , - , , , . ( , , .)

, , , , . , /.

+2

All Articles