Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 284 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 284 Bytes

Strategy

With this pattern you can create multiple strategy on solving a specific problem. Each strategy are separated object that does algorithm.

You can swap or change strategy at runtime.

Open / Closed Principle since you can add more strategy without breaking existing code.