State Machines and the Strange Case of Mutating API | Hacker News Reader