State

Teach and apply the State pattern to replace state-based conditional branches with polymorphic state objects. Use when users ask about State, finite-state machines, eliminating state conditionals, behavior that changes per state, or comparing State to Strategy.

mdadul Updated

File contents

mdadul/agent-skills/tree/main/skills/design-pattern/behavioral/state commit dbd68b7a38

Frequently asked questions

npx skillmds@latest add mdadul/state