Pros :
1. Adding a new strategy will never disturb any previous code.
2. Removal/Refactoring of any previous strategy is flexible.
3. Easy to test single units.
실제 업무에서는 어떤 선택을 할지 고민..
반응형
'emotional developer > detect-pattern' 카테고리의 다른 글
Circular Dependency (0) | 2023.05.04 |
---|---|
Rate Limiter (0) | 2023.05.04 |
채번방식? (0) | 2014.01.24 |