Domain Modelling with State Machines and TypeScript | Hacker News Reader