Programming/C#
2019. 9. 15.
OOP 설계의 기본 원칙 SOLID
Single Responsibility Principle 단일 책임 원칙 Aclass should only have one reason to change Separation of concerns - different classes handling different, independent tasks/problems. Open/Closed Principle 개방/폐쇄 원칙 Classes should be open for extension but closed for modification Liskov Substition Principle 리스코프 치환원칙 You should be able to substitute a base type for a subtype Interface Segregation Princi..