Comment on Stop Writing If-Else Trees: Use the State Pattern InsteadComments−7e1yMost of the time the state pattern obfuscates logic and makes the entire thing much harder to understand.
Comments
Most of the time the state pattern obfuscates logic and makes the entire thing much harder to understand.