Continuing our study to Be a Professional Developer and exploring SOLID principles, today we will dive into the 3rd principle of SOLID, Liskov Substituition Principle (LSP).

Continuing our study to Be a Professional Developer and exploring SOLID principles, today we will dive into the 3rd principle of SOLID, Liskov Substituition Principle (LSP).
Today, we will explore the Open/Closed Principle (OCP) from SOLID, which was introduced by Bertrand Meyer in 1988. The principle states:
A software artifact should be open for extension but closed for modification.
According to Robert C. Martin (Uncle Bob), the Single Responsibility Principle (SRP) is:
A module must be responsible to one, and only one, actor.
In this article, we will understand what this statement means studying the first principle from SOLID.