Asdfasf

Saturday, February 16, 2013

Dependency Inversion Principle (DIP)

This principle is D of S.O.L.I.D design principles.According to Dependency Inversion Principle,

  • High-level modules should not depend on low-level modules. Both should depend on abstractions.
  • Abstractions should not depend upon details. Details should depend upon abstractions. (See Reference)

Here is some more explanation on DIP with a good example.

No comments: