When To Use A State Machine
Published: 10/26/2016
I recently implemented a state machine at work and it worked to perfection. The state machine saved us multiple hours and rescued us from redundant, error-prone code. But state machines feel over-complicated for most situations, so what exactly is the tipping point to make a decision?