The switch-case structure, commonly used in FiniteStateMachines is a good alternative to of complicated nests of if statements.
Have you seen these:
The switch-case structure, commonly used in FiniteStateMachines is a good alternative to of complicated nests of if statements.
Have you seen these: