Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Similarly with embedded development. We use them for just about everything from communications to scheduling. I think the subtext here is that state machines are just rarely used for web/mobile...


Yup, I'm in the middle of writing a packet radio protocol and it's mostly just nested state machines.


One simplistic state machine in web/mobile is mouse/swipe motion handling – mousedown transitions into "in motion" state, mousemove tracks that state, mouseup transitions into "finished motion" state, runs event handlers, and transitions again into "idle" state.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: