Skip to main content

7 docs tagged with "design-principles"

View all tags

High Cohesion

Keep class responsibilities focused and strongly related to its purpose

Law of Demeter

Master the Principle of Least Knowledge to reduce coupling and improve maintainability in complex systems.

Low Coupling

Minimize dependencies between classes to improve flexibility, testability, and maintainability

Open/Closed Principle

Software entities should be open for extension, closed for modification. Design for change without breaking existing code.

Protected Variations

Protect classes from variations in other classes using abstraction and stable interfaces