状态机 stateless State Machines and business processes that describe a series of states seem like theyll be easy to code but youll eventually regret trying to do it yourself. Sure, youll start with a boolean, then two, then youll need to manage three state…