Dinesh AppavooinAffirm Tech BlogSolving spaghetti code with a state machineIntroduction5 min read·Feb 22, 2021--1--1