TITLE: Pain and Shame AUTHOR: Eugene Wallingford DATE: September 12, 2019 3:57 PM DESC: ----- BODY: Today's lecture notes for my course include a link to @KentBeck's article on Prune, which I still enjoy. The line that merits its link in today's session is:
We wrote an ugly, fragile state machine for our typeahead, which quickly became a source of pain and shame.
My students will soon likely experience those emotions about the state machines; they are building for lexers for their semester-long compiler project. I reassure them: These emotions are normal for programmers. -----