User Tools

Site Tools


principles:dependency_inversion_principle

Dependency Inversion Principle (DIP)

Variants and Alternative Names

Context

Principle Statement

Description

Rationale

Strategies

Origin

Evidence

Relations to Other Principles

Generalizations

  • Low Coupling (LC): LC aims at reducing the dependencies to other modules. One way to do so is to only depend on abstractions. DIP is about this aspect.

Specializations

Contrary Principles

  • More Is More Complex (MIMC): DIP demands introducing abstractions, especially abstract classes or interfaces.

Complementary Principles

Principle Collections

OOD Principle Language
General Principles Modularization Principles
KISS DRY GP MP IE LC HC

Example

Description Status

Further Reading

principles/dependency_inversion_principle.txt · Last modified: 2021-09-02 19:24 by 65.21.179.175