Skip to content

Glossary: Software Design Patterns

State

Also written: state pattern

A pattern that limits what an object can do based on its status. It can be a dict of allowed moves, or each state can be a class with the same methods.

Where the book teaches it

Related terms

State machineTransition