When we design a Program, they say we have to follow SOLID principles.
What does SOLID mean?
- S for Single Responsibility Principle
- O for Open Closed Principle
- L for Liskov Substitution Principle
- I for Interface Segregation Principle
- D for Dependency Inversion
There is also another acronym called GRASP principles. We will explore that later in a different post.
Let’s explore each of the SOLID principles in respective posts
- Single Responsibility Principle (SRP)
- Open Closed Principle (OCP)
- Liskov Substitution Principle (LSP)
- Interface Segregation Principle (ISP)
- Dependency Inversion (DI)