4 ms·
The gem they link to hasn't been updated for the last 10 years. State machines get a lot of praise, but seem scarce in practice. Perhaps there are practical pro
by jasfi 4y ago
The gem they link to hasn't been updated for the last 10 years. State machines get a lot of praise, but seem scarce in practice. Perhaps there are practical problems with using them in the long term?
- Pamar 4y agoNot that I am aware of, apart from the problem of implementation and design/documentation starting to drift apart ... but as you surely know this is not a problem with SM per se.
- jasfi 4y agoI was thinking of more along the lines of specialized framework and libraries for state machines. Perhaps those aren't necessary.
- JohnFen 4y agoI don't think so. About half of the programs (both new and old) I've worked with have used state machines, and I haven't noticed any long-term problems with them aside from the usual long-term problems with code generally.