반응형
https://github.com/Tonyzorz/HeadFirstDesignPattern
Design principles:
- Identify the aspects of your application that vary and separte them frmo what stays the same.
- Program to an interface, not an implementation.
- Favor composition over inheritance.
Strategy pattern : defines a family of algorithms, encapsulate each one, and makes them interchangeable. Strategy lets the algoirthm vary indepdently from clients that use it.
Design pattern gives you shared vocabulary with other developers. Also allows you to view things in pattern ways instead of object way.
반응형
'IT > ETC' 카테고리의 다른 글
Design ToolBox (0) | 2020.02.29 |
---|---|
Chapter 2 (0) | 2020.02.28 |
HLS vs DASH (0) | 2020.02.24 |
Sites to view later (0) | 2020.02.24 |
Media files note 1 (0) | 2020.02.24 |