Re:Why Developers Never Use State Machines (2011)
by pdelbarba on Monday February 26, 2018 @11:14PM
(#16471030)
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...
[ Parent
| on HN ]
Re:Why Developers Never Use State Machines (2011)
by vvanders on Tuesday February 27, 2018 @12:23AM
(#16471265)
Yup, I'm in the middle of writing a packet radio protocol and it's mostly just nested state machines.
Re:Why Developers Never Use State Machines (2011)
by DCoder on Monday February 26, 2018 @11:43PM
(#16471121)
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.