by jonasvp · 8y ago · 0 comments
However, now I'm at a loss on how to teach the junior programmers at my company how to recognize which patterns scream "turn me into a state machine!" Several booleans triggering certain code paths in several methods is a pretty sure sign. Are there more?
The words "event loop" probably mean you need a state machine.
If "time" is an input variable, you probably have a state machine.