2 ms·
A good way to think is that all code is a state machine, and you want to pick the right abstractions for that state to suit your task. Sometime the status field
by quickthrower2 4y ago
A good way to think is that all code is a state machine, and you want to pick the right abstractions for that state to suit your task. Sometime the status field is enough. Sometimes you need something more complex. And developers are forcefed state machines. It is called JIRA, when it won't let you close the ticket and you need to hunt down someone who is an admin to fix it :-)...
- Swizec 4y ago> all code is a state machine Not true. At least not a finite state machine, which is what people usually mean by “state machine”. Most problems aren’t modelable as a state machine because they need contextual memory. But a state machine + stack, now we’re talking. That can do almost everything. State machine + “infinite” tape – yessss now we can solve everything.