SOLID Design principles by GoF
There are five well-known software design principles from the book “Head First, Design Patterns”. Nothing’s absolute, but classical things are great enough to know and have a look on it.
S : Single responsibility
O : OCP, Open / Close Principles
- Objects should be open for extension, but closed for modification.
- 클래스(객체)는 확장에 대해서는 열려있어야 한다. 하지만, 코드 변경에 대해서는 닫혀 있어야 한다.