Skip to content

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`.

Where the book teaches it

Related terms

TransitionState