3 ms·
After playing around with some state machine libraries, I find a simple switch statement against a State enum to be the most straightforward approach. Especiall
by nateroling 9y ago
After playing around with some state machine libraries, I find a simple switch statement against a State enum to be the most straightforward approach. Especially if your language can guarantee an exhaustive switch.
- ensiferum 9y agoIndeed.