3 ms·
Who is writing state machines without the pattern of generators/coroutines these days? I prefer the discipline and diagrams of regular state machines. Personal
by papaf 6y ago
Who is writing state machines without the pattern of generators/coroutines these days?
I prefer the discipline and diagrams of regular state machines. Personally, I don't like the coroutine alternative because it takes away what is good and adds complexity.
Also as @R0b0t1 says, regular state machines are used in embedded:
- Draw a diagram
- Implement a state machine
These feels much more like engineering that messing with coroutines.