Search
Lessons (2)
- L — Liskov Substitution Principle
… changing height also changes width](/img/solid/lsp-square.svg) Square broke a promise that Rectangle made: "setting …
- I — Interface Segregation Principle
… fat interfaces cause LSP violations. The fix: small, role-based interfaces ts // ✅ One interface per capability interface Printer …