OOP · SOLID
Five guidelines that keep class designs flexible and changeable.
One class, one reason to change.
Open to extension, closed to modification.
Subtypes must be drop-in replacements.
No client forced to depend on unused methods.
Depend on abstractions, not concretions.