Don’t Re-invent Finite State Machines: How to Repurpose Unity’s Animator
Darren Tsung
1998

I use them when writing device drivers. Beware that large state machines can become unwieldy. Consider using this set of macros (https://www.codeproject.com/Articles/37037/Macros-to-simulate-multi-tasking-blocking-code-at) … that way the transitions become so simple that you don’t even need a state diagram. This is because the macros let you write your state machine code as if it is structured code.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.