Skip to content

SOLID Principles

I need to...

I need to... Guide
Understand what SOLID means and why it matters SOLID Overview
Learn when a class has too many responsibilities Single Responsibility Principle
Refactor code toward single responsibility SRP in Practice
Make code extensible without modification Open/Closed Principle
Implement plugin systems and middleware OCP in Practice
Understand when subtypes break substitutability Liskov Substitution Principle
Detect and fix LSP violations LSP in Practice
Avoid forcing clients to depend on unused methods Interface Segregation Principle
Refactor fat interfaces into role interfaces ISP in Practice
Depend on abstractions instead of concrete classes Dependency Inversion Principle
Implement dependency injection and IoC containers DIP in Practice
Apply SOLID to microservices and component architecture SOLID in Modern Architecture
Know when to bend SOLID rules pragmatically SOLID vs Pragmatism
Recognize common SOLID violations SOLID Anti-Patterns
Detect principle violations during code review SOLID Code Smells
Make daily development decisions using SOLID Best Practices Decision Framework
Find authoritative books and articles Code Reference Map