1 min readJul 26, 2020
Just use a finite state machine if you want another way to write conditional branching.
There’s a reason if-else statements exist. They are intuitive and easy to express thoughts in code.
Just use a finite state machine if you want another way to write conditional branching.
There’s a reason if-else statements exist. They are intuitive and easy to express thoughts in code.