How (Not) to Code a Finite State Machine (1988) [pdf] | Hacker News Reader