SOLID Principles
SOLID PRINCIPLES
Solid Principles are the design principles that enables us to manage most of the software design problems.
These principles provide us the way to move from tightly coupled code and little encapsulation to the desired results of loosely coupled and encapsulated real needs of business properly.
Every SOLID principle can be misused and overused . So be sure that as developer make sure to use them when there is need for clean code base on priority .
As said , SOLID is acronym and each of the letters in it stands for :
- S - Single Responsibility Principle (SRP)
- O - Open Closed Principle (OCP)
- L - Liskov Substitution Principle (LSP)
- I - Interface Segregation Principle(ISP)
- D - Dependency Inversion Principle (DIP)
Following this article , next throughout these articles each principle is explained with an explain with and without following that principle .
Comments
Post a Comment