SOLID Principles-Short Note

SOLID principles were introduced by Robert C.Martin (Uncle Bob). - Robert Cecil Martin What does SOLID stand for? S – Single Responsibility Principle A class should have one and only one reason to change, meaning that a class should have only one job O – Open Closed Principle Software entities (classes, modules, functions, etc.) should be open for extension but closed for modification. L – Liskov Substitution Principle Every subclass or derived class should be substitutable for its base or parent class...

November 1, 2022 · 1 min