4 ms·
I mean almost by definition isn’t every exit from a state node a conditional logic test? If [something], take path A. If [the other thing], take path B. You (t
by jen729w 4y ago
I mean almost by definition isn’t every exit from a state node a conditional logic test?
If [something], take path A. If [the other thing], take path B. You (the machine) must always decide, given some condition.
This applies even if there’s a default path. You only take the default if one of the non-default paths didn’t match (or if it’s the only path).
So I don’t think that’s what the author really meant here. They implied conditionals that don’t transition you to another state. Because in that scenario, you might still need to consider that past conditional. Its values might still bite you.
Whereas in the tranquility of state machine land, you can now disregard any* decisions that you’ve already made.
*Obviously you might have stored state to consider, but y’know.