Glossary: Software Design Patterns in C++
State machine
Something that is always in exactly one of a fixed set of states, with rules for moving between them. An order can go from `shipped` to `delivered` but not to `cancelled`.
Glossary: Software Design Patterns in C++
Something that is always in exactly one of a fixed set of states, with rules for moving between them. An order can go from `shipped` to `delivered` but not to `cancelled`.