Search
Lessons (10)
- D — Dependency Inversion Principle
… Dependency Injection DIP is the principle; Dependency Injection (DI) is the most common technique to achieve it: pass …
- O — Open/Closed Principle
Software should be open for extension but closed for modification. Add new features by plugging in new code …
- S — Single Responsibility Principle
A class or module should have only one reason to change. Learn to find the hidden responsibilities in …
- I — Interface Segregation Principle
Don't force code to depend on methods it doesn't use. Split fat interfaces into small, focused …
- L — Liskov Substitution Principle
… Prefer composition or separate types. - LSP is what makes polymorphism (and the Open/Closed Principle ) safe.
- SOLID at a Glance
Five design principles that keep object-oriented and modular code easy to extend, test and change. One picture …
- Code Smells & Refactoring
… through every switch . (This is the Open/Closed Principle , covered in the SOLID lessons.) Shotgun surgery vs Divergent …
- Microkernel (Plugin) Architecture
… final HTML The Open/Closed Principle at architecture scale: the core is closed for modification, open for extension …
- Serverless Architecture
… with near-zero cold starts. Designing for serverless Principle Why --- --- Stateless functions Any instance can handle any request …
- Onion Architecture & Clean vs Hexagonal vs Onion
… Palermo's own summary of the principles: 1. The application is built around an independent object model . 2 …