Hacker News new | past | comments | ask | show | jobs | submit login

Yes, the vending machines examples is one of the most directly relatable ones. In fact, pretty much every piece of code you write has gone through a "Finite State Automata" (during the lexical phase of compilation to be exact) which in very simple terms is just a huge set of rules saying - "if this then that".



finite state automata haha




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: