Month: January 2017

What Is Dependency Inversion Principle(DIP)? In object-oriented design, the dependency inversion principle(DIP) refers to a specific form of decoupling software modules. Dependency Inversion Principle or DIP has two key points: 1.Abstractions should not depend upon details; 2.Details should depend upon abstractions. The principle could be rephrased as use the same level of abstraction at a […]

Read more

The Interface Segregation┬áPrinciple(ISP) deals with the disadvantages of “fat” interfaces. The Interface Segregation Principle(ISP) states that no client code object should be forced to depend on methods it does not use. Basically, each code object should only implement what it needs, and not be required to implement anything else. The ISP was first used and […]

Read more