Glossary: Software Design Patterns
State machine
A thing that is always in exactly one of a fixed set of states, with rules for which moves between them are allowed. An order goes from `placed` to `paid` to `shipped`.
Glossary: Software Design Patterns
A thing that is always in exactly one of a fixed set of states, with rules for which moves between them are allowed. An order goes from `placed` to `paid` to `shipped`.