1. Functional Options Patternhistorical

    The functional-options pattern supplies default configuration and changes selected properties through option functions. These notes examine that construction approach.

  2. Function Types as Interfaceshistorical

    An interface function is a function type that implements an interface, allowing ordinary functions and struct implementations to participate in the same interface-based calls.

  3. Event Sourcinghistorical

    Event sourcing persists data changes as events. These notes start with traditional CRUD limitations and examine recording state changes through events.

  4. Publish–Subscribe Patternhistorical

    Publish-subscribe involves publishers, an event center, and subscribers. Subscribers register interest in events and receive messages through the event center.

  5. Producer–Consumer Patternhistorical

    Producers place data in a queue and consumers retrieve it for processing. These notes introduce the producer-consumer pattern through those three roles.

  6. Open–Closed Principlehistorical

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

  7. 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.

  8. 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.

  9. Single Responsibility Principlehistorical

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

  10. Interface Segregation Principlehistorical

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