3 ms·
I've always sort of thought of explicit state machines as a sort of failure state when it comes to finding a good abstraction for some logic. Explicit state ma
by marginalia_nu 4y ago
I've always sort of thought of explicit state machines as a sort of failure state when it comes to finding a good abstraction for some logic. Explicit state machines are the sledgehammer that lets you bludgeon through the problem space regardless.
I get that they're an useful intermediate state for parsers and so, but still. I'm no fan.
- kqr 4y agoThis is a good point. The state machine abstraction is very low level. I guess what would be interesting would be domain-specific abstractions implemented on top of state machines. Defining the domain-specific abstractions in the terminology of state machines may make them more approachable also to non-domain experts.