Gen. partnerAlgotech

SOLID principles

Solid principles are a way, a set of recommendations and principles, to build robust software. SOLID principles work for object-oriented design (OOP). Their author is Robert C. Martin and date from around 2000.

|
January 17, 2022

Solid principles are a way, a set of recommendations and principles, to build robust software. SOLID principles work for object-oriented design (OOP). Their author is Robert C. Martin and date from around 2000.

A quick overview

Character Principle Name Explanation
S Single responsibility principle Each class has just one responsibility.
O Open/Closed principle The functionality of a class can be extended without modifying it.
L Liskov substitution principle Classes must be fully substitutable by their descendants.
I Interface segregation principle Use small and narrowly focused interfaces.
D Dependency inversion principle Depend on abstractions, not on implementations.
Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.