Hacker News new | ask | show | jobs
by akhleung 5147 days ago
I once wrote a toy video-player program, and I was able to implement robust, interactive playback controls fairly cleanly by structuring it as a state machine.