State Machine

Noun · Development

Definitions

  1. A computational model where a system exists in exactly one of a finite set of states at any time, transitioning between states in response to events according to defined rules.

    In plain English: A way of modeling something that can only be in one mode at a time, with clear rules for how it switches between modes.

    Example: "We modeled the checkout flow as a state machine: cart → payment → processing → confirmed."

Related Terms