All the introductions to Finite State Machines use physical state machines- ATMs, traffic lights- as examples. Paradoxically this makes it all less intuitive to me, because I can't see the underlying abstraction. A good example would be a software unit I didn't consider a FSM.
2
1
5
Replying to @hillelogram
+1, I had the exact same problem when learning OOP 25 years ago. Lots of real-world examples that weren’t.

Dec 6, 2017 · 5:43 AM UTC