3 ms·
They're used all the time. A workflow engine is basically a big state machine. They're used all the time in the Enterprise. In object orientated software eng
by radicalbyte 15y ago
They're used all the time. A workflow engine is basically a big state machine. They're used all the time in the Enterprise.
In object orientated software engineering the State pattern is a pattern for cleanly implementing a state machine* whilst avoiding horrible switch or massive nested if-then statements.