dip-enables-ocp

Status: IN

DIP is a prerequisite for OCP: depending on abstractions rather than concretions (DIP) is the mechanism that makes systems open for extension without modification (OCP), because new implementations can be added behind stable abstract interfaces.

Justifications

Abstraction-dependency is the mechanism enabling extension-without-modification

Depends on (SL): dip-depend-on-abstractions-not-concretions, ocp-open-for-extension-closed-for-modification, program-to-interface-not-implementation

Depended on by

JSON