How (not) to code a finite state machine

Douglas W. Jones. How (not) to code a finite state machine. SIGPLAN Notices, 23(8):19-22, 1988. [doi]

@article{Jones88:6,
  title = {How (not) to code a finite state machine},
  author = {Douglas W. Jones},
  year = {1988},
  doi = {10.1145/47907.47908},
  url = {http://doi.acm.org/10.1145/47907.47908},
  tags = {state machines},
  researchr = {https://researchr.org/publication/Jones88%3A6},
  cites = {0},
  citedby = {0},
  journal = {SIGPLAN Notices},
  volume = {23},
  number = {8},
  pages = {19-22},
}