SOLID Principles
In object-oriented programming S.O.L.I.D is a term developed by Robert C. Martin and the intention is to describe five important software development design principles, those concepts are:
S — Single Responsibility Principle O — Open-closed Principle L — Liskov Substitution Principle I — Interface Segregation Principle D — Dependency Inversion Principle Single Responsibility Principle Every class should have a single responsibility that it should entirely encapsulate. When a class has more than one reason to be changed, it is more fragile, so changing one location might lead to unexpected behavior in other places.
[Read More]