Hacker News new | ask | show | jobs
by Emanation 1176 days ago
Add a description please. I get it's a state machine. I get states have state-tags, transitions can be ran via these transition-tags. What is your philosophy behind this library. Why should I give a fuck that states and transitions are strings rather than enums?

All I see here is a switch statement, the input is an enum, and the action that's taken is also determined by an enum.