Re:Why Developers Never Use State Machines (2011)
by cbetti on Tuesday February 27, 2018 @09:05AM
(#16473401)
This idea of defining a hard error for a transition which makes no sense is a nice way to deal with the OPs problem. You must still explicitly handle the situation, but it minimizes the "unwind/undo" code.
[ Parent
| on HN ]
There are no comments on this comment yet.