4 ms·
Yes, I've used jakesgordon's. I really recommend it, both the use of state machines and the library. Using a state machine really helped making it obvious wha
by ahartman00 9y ago
Yes, I've used jakesgordon's. I really recommend it, both the use of state machines and the library.
Using a state machine really helped making it obvious what needed to be cleaned up. If you have something with many states, which may even transition back and forth, it really organizes everything, making bugs less likely. It also prevents you from going to invalid states from the current state.