Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masterofmisc
on Jan 1, 2021
|
parent
|
context
|
favorite
| on:
State machines are wonderful tools
Yeah, i find that using a library (like Stateless for C#) where it makes you "spell-out, upfront" each of the states and the transitions that are permitted from this state, it makes it easier to reason about the code.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: