2 ms·
It also depends on how you implement the state machine. If you're constrained by memory or performance (or playing golf), then you may end up with code like TF
by blunte 6y ago
It also depends on how you implement the state machine. If you're constrained by memory or performance (or playing golf), then you may end up with code like TFA.
But if you're implementing in a typical app, you can obviously organize and write that is very understandable.
I find the title of TFA misleading in its generality in comparison to the content of the article.