Skip to main content

11 docs tagged with "principles"

View all tags

DRY: Don't Repeat Yourself

Master DRY principle: eliminate knowledge duplication for maintainable code, improved consistency, and reduced bugs.

Encapsulate What Varies

Identify volatile aspects of your system and hide them behind stable interfaces to reduce coupling and change impact.

Fail Fast

Detect and report errors immediately to prevent silent failures, data corruption, and cascading problems.

High Cohesion, Low Coupling

Build systems where components relate strongly to their purpose while remaining loosely connected to other components.

Separation of Concerns

Design systems where different areas address different aspects of functionality, improving modularity and maintainability.