Is this being downvoted because of the tone, or because state machines are unpopular/inappropriate in this case?
Genuine question, because this feels like a sensible solution to the problem as stated in the article.
Genuine question, because this feels like a sensible solution to the problem as stated in the article.
No mention of asynchrony, multithreading, or the race condition that TFA encountered.