CSC/ECE 517 Fall 2009/wiki3 5 SD

From Expertiza_Wiki
Jump to navigation Jump to search

Dependency inversion principle

The Dependency Inversion Principle(DIP) states that:

1. High-level modules should not depend on low-level modules. Both should depend on abstractions. 2. Abstractions should not depend upon details. Details should depend upon abstractions.