1. Open–Closed Principlehistorical

    The open-closed principle favors extension without modifying existing code, reducing the risks introduced by maintenance changes.

  2. Liskov Substitution Principlehistorical

    The Liskov substitution principle requires subclasses to preserve the meaning and expectations of parent-class methods. These notes examine inheritance and extension through it.

  3. Dependency Inversion Principlehistorical

    Dependency inversion favors interfaces over implementations and avoids direct high-level dependence on low-level details. These notes examine extensibility through that principle.

  4. Single Responsibility Principlehistorical

    The single-responsibility principle keeps a class's responsibilities focused. These notes examine readability and maintenance through that idea.

  5. Interface Segregation Principlehistorical

    Interface segregation keeps interfaces focused on clear responsibilities. These notes examine decoupling and readability through that requirement.

  6. Law of Demeterhistorical

    The Law of Demeter asks a class to know as little as possible about other objects' internals, reducing coupling.

  7. Composition Reuse Principlehistorical

    Composite reuse favors composition or aggregation over inheritance. These notes examine code reuse and extension through that principle.

  8. Object-Oriented Design Principleshistorical

    Object-oriented design principles aim to improve maintainability, extensibility, and reuse. This page links notes on the individual principles.