Principles
Principles define the design intent behind code and architecture decisions. They help teams evaluate tradeoffs with stable criteria. They reduce style drift across large codebases.
Available pages:
- Demeter's Law
- Dependency Inversion
- Interface Segregation Principle
- Liskov Substitution Principle
- Open-Closed Principle
- Single Responsibility Principle
Foundational Mapping
| Principle | Foundational Principle Links |
|---|---|
| Demeter's Law | Abstraction and Boundaries, Modularity and Composition, Simplicity First, Correctness and Testing |
| Dependency Inversion | Abstraction and Boundaries, Modularity and Composition, Simplicity First, Correctness and Testing |
| Interface Segregation Principle | Abstraction and Boundaries, Modularity and Composition, Simplicity First, Correctness and Testing |
| Liskov Substitution Principle | Abstraction and Boundaries, Correctness and Testing, Modularity and Composition, Simplicity First |
| Open-Closed Principle | Modularity and Composition, Abstraction and Boundaries, Simplicity First, Correctness and Testing |
| Single Responsibility Principle | Simplicity First, Modularity and Composition, Abstraction and Boundaries, Correctness and Testing |