xxxxxxxxxx
Encapsulate What Varies
Code to an Interface Rather Than to an Implementation
Delegation Principle
The Open-Closed Principle (OCP)
Dry- Don't Repeat Yourself
Single Responsibility Principle (SRP)
Liskov's Substitution Principle (LSP)
Interface Segregation Principle (ISP)
Dependency Injection or Inversion Principle
SOC Separation of concerns
You Aint Gonna need it
xxxxxxxxxx
These principles establish ways to make your codebase more maintainable and
prepare it for future growth.
SOLID is an acronym for five object-oriented programming principles:
S - Single-responsiblity Principle
O - Open-closed Principle
L - Liskov Substitution Principle
I - Interface Segregation Principle
D - Dependency Inversion Principle