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

Developers use state machines a lot more than they would admit to. Often code would be more readable if the state machine was succinctly defined.



There's a lot of truth to this statement in my experience. I just finished rewriting my homework for my operating systems course and the first version looks awful compared to when I rewrote a chunk of it as a state machine




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

Search: