Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
theatrus2
· 8y ago · 0 comments
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.
Comments
[–]
nathanyo
8y ago
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