Everything About ___
Live briefing

Everything about State pattern

Software design pattern

The state pattern is a behavioral software design pattern that allows an object to alter its behavior when its internal state changes. This pattern is close to the concept of finite-state machines. The state pattern can be interpreted as a strategy pattern, which is able to switch a strategy through invocations of methods defined in the pattern's interface. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: State patternA 5-minute orientation
  2. Skim a recent paper: 50 shades of oxidative stress: A state-specific cysteine redox pattern hypothesisInfluential work since 2022
  3. Pick up a classic book: Philip TaaffeThe most-reprinted book on the subject
  4. Read the landmark paper: State of the art in pattern recognitionCited 180 times
  5. Go sideways: Chain-of-responsibility patternA closely related topic
  6. Go sideways: Decorator patternA closely related topic

📖 Definitions

Noun A behavioural design pattern similar to the strategy pattern that is used to represent the state of an object.

🗂️ The subject at a glance

  1. Overview
  2. Structure
  3. Example

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics