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.
[ Parent
| on HN ]
There are no comments on this comment yet.