Top "State-pattern" questions

Use this tag for questions relating to the State design pattern, one of the Gang of Four's behavioral design patterns.

How to implement a FSM - Finite State Machine in Java

I have something to do for work and I need your help. We want to implement a FSM - Finite …

java design-patterns state-machine fsm state-pattern
What is the difference between Strategy design pattern and State design pattern?

What are the differences between the Strategy design pattern and the State design pattern? I was going through quite a …

design-patterns strategy-pattern state-pattern
How to use state pattern correctly?

I've encountered a few implementations of state pattern in my programming experience, and done a few. I've seen them used …

oop design-patterns state-pattern
What is the difference between a state machine and the implementation of the state pattern?

I wonder if a state machine is just the state pattern at work or if there is actually a difference …

design-patterns architecture state-machine state-pattern