The SOLID principles are intentened to develop software that are easy to maintain and extend.
S.O.L.I.D Stands for,
Name | Definition |
---|---|
Single Responsibility Principle | Class should have only one reason to change. |
Open Closed Principle | Extend a class behavior, without modifying it. |
Liskov Substitution Principle | Derived classes should be substitutable for their base classes. |
Interface Segregation Principle | Define interfaces that are specific to client. |
Dependency Inversion Principle | Depend upon Abstractions. Do not depend upon concretions. |