SOLID

7 articles
SOLID Principles Five foundational object-oriented design principles that promote maintainable, flexible, and understandable …Single Responsibility Principle (SRP) A SOLID design principle stating that a class should have only one reason to change, meaning it should …Open-Closed Principle (OCP) A SOLID design principle stating that software entities should be open for extension but closed for …Liskov Substitution Principle (LSP) A SOLID design principle stating that objects of a supertype should be replaceable with objects of a subtype …Interface Segregation Principle (ISP) A SOLID design principle stating that no client should be forced to depend on methods it does not use, …Dependency Inversion Principle (DIP) A SOLID design principle stating that high-level modules should not depend on low-level modules, and both …Clean Architecture What clean architecture is, how dependency inversion organizes code layers, and when this structure benefits …