Home / cs-notes / Design / Design Patterns / Summary / Command vs Strategy
Intent
- Command
- Decouple the invoker and the executor
- Strategy
- Keep each algorithm replaceable
Home / cs-notes / Design / Design Patterns / Summary / Command vs Strategy