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

I use them when writing device drivers. Beware that large state machines can become unwieldy. Consider using this set of macros ( … 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.