4 ms·
As a huge proponent of Statecharts, I agree. If what you're doing is really simple and only have a few amount of states (as conditionals introduce those states
by capableweb 4y ago
As a huge proponent of Statecharts, I agree. If what you're doing is really simple and only have a few amount of states (as conditionals introduce those states no matter if you use state machines, statecharts or conditions), it makes sense to keep things simple.
But once you start having much more than that, or nested states, Statecharts makes it really easy to build reliable, performant and easy to change flows.
- davnicwil 4y agoI can see that. Do you have some examples of common UI usecases which are the other side of the line here and for which statechart based code is better?