Design Principles
This section covers fundamental principles that guide the design of software systems for better quality and maintainability.
- SOLID
- Separation of Concerns (SoC)
- Don’t Repeat Yourself (DRY)
- You Aren’t Gonna Need It (YAGNI)
- Keep It Simple, Stupid (KISS)
- Composition Over Inheritance
- Program against Abstractions
- Encapsulate What Varies
- Defensive Programming
- Design by Contract (DbC)
- Fail-Fast
- The Law of Demeter (LoD)
- Tell, Don’t Ask
- The Hollywood Principle (IoC)