SOLID Design Principles
Much like design patterns are a common language of constructs shared between developers,
SOLID Design Principles are a common foundation employed across all types of applications
and programming languages.
The SOLID Design Principles are a set of five basic design principles for object oriented
programming
described by Robert C. Martin¹³
. These principles define ways in which all classes
should behave and interact with one another, as well as principles of how we organize those
classes.
The SOLID principles are:
1. Single Responsibility Principle
2. Open/Closed Principle
3. Liskov Substitution Principle
4. Interface Segregation Principle
5. Dependency Inversion Principle
Do'stlaringiz bilan baham: |