Contents tagged with oop

  • Dependency Inversion Principle

    The Dependency Inversion Principle (DIP) states that abstractions should not depend on details.  Details should depend upon abstractions.

    See Also

    Explicit Dependencies Principle … Read more

  • Interface Segregation Principle

    The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods that they do not use.  Interfaces belong to clients, not to libraries or hierarchies. Read more

  • Open-Closed Principle

    The Open-Closed Principle (OCP) states that software entities (classes, modules, methods, etc.) should be open for extension, but closed for modification Read more

  • Iceberg Class

    Although encapsulation is an oft-sited good thing to have in a design, there are many cases in which hiding an abundance of implementation behind private methods is undesirable.  Often, this … Read more

  • Strategy Design Pattern

    The Strategy Design Pattern allows an object to have some or all of its behavior defined in terms of another object which follows a particular interface.  A particular instance of this interface … Read more