Apply Strategy Pattern

Use when you have multiple algorithms or behaviors that can be swapped for a given task — encapsulating each algorithm in its own class and making them interchangeable at runtime.

jeffreytse Updated
grimoire

File contents

jeffreytse/grimoire-core commit c8da3a2577

Frequently asked questions

npx get-skill add jeffreytse/apply-strategy-pattern