Twitter thread on #cpp #state_machine #software_design.
Random ideas around writing an FSM library, with examples from, and motivations behind https://hfsm.dev, a header-only library created using #cpp template #metaprogramming with #gamedev, #embedded and #robotics in mind: