SOLID Principles Checklist (in Python)


With so many soliloquies of SOLID Principles online, ripe with the same old definitions, theoretical verbosity, and yet, the most basic of examples, I’ve always found it difficult to digest and keep it all in mind while developing.

So I wanted to create a condensed checklist that is wall hang-worthy.

SOLID Principles Checklist

Single Responsibility Principle

Open Closed Principle

When adding a new functionality

Liskov Substitution Principle

In class inheritance

Interface Segregation Principle

Dependency Inversion Principle

Further Readings

Following is a famous visualisation of the SOLID principles by a Medium author.
The S.O.L.I.D Principles in Pictures by Ugonna Thelma

It is common that we go adrift in the profoundness of the principles and concepts, but they could be readily mastered through constant reminders and learning the perspectives of other great minds.