Hacker News new | ask | show | jobs
by xntrk 2738 days ago
What are you using state machines for now? just wondering. I have been looking into JS state machines (mostly xstate) in order to model UIs better.
1 comments

I recently programmed an application for a test bench of electric motors, where I could basically translate the flow chart I was given by the engineers to a state machine. Out of the state machine I handled all concerns like UI, hardware controlling and persistence via events.