The best replacement for state pattern is strategy pattern. |
The best alternatives to state pattern are rated as following: |
|||||||
|
|||||||
Your alternative for state pattern is not listed? Suggest! |
No companions for state pattern have been suggested so far. |
You have in mind a companion for state pattern and it is not yet here? Propose! |
state pattern |
|
strategy pattern |
|
state machine |
|