More cruise control
What if your state machine also tracked speed?
- Maybe the cruise control doesn’t work at low speeds
- Anyway, it needs to remember a speed so it can resume properly
What if it also interacted with the door locking system?
You might have to modify almost every state to track not only the state on the previous slide, but the speed, too
- Essentially, you need to build a cross product of all combinations of states
This is the kind of issue that can cause the machine to blowup in size
- It’s not the best example, but it’s adequate