thepointman.dev_

Courses / Design Patterns

Behavioural Patterns

intermediate10 lessons

Strategy for injecting behaviour (lambda strategies in Java 8+), Observer with memory leak traps (weak references), Command for undo/redo, Template Method's Hollywood Principle, Chain of Responsibility as Servlet filters, State for replacing conditionals, Visitor's double dispatch, and the full anti-pattern gallery.

// Lessons

  1. 01

    Strategy — Injecting Behaviour Instead of Subclassing

    soon
  2. 02

    Strategy — Lambda Strategies in Java 8+

    soon
  3. 03

    Observer — Push vs Pull, Event Systems and Memory Leaks

    soon
  4. 04

    Observer — The Memory Leak Trap and Weak Reference Fix

    soon
  5. 05

    Command — Encapsulating Operations for Undo/Redo

    soon
  6. 06

    Template Method — The Hollywood Principle

    soon
  7. 07

    Chain of Responsibility — Servlet Filters and Spring Interceptors

    soon
  8. 08

    State — Replacing Conditional Logic with Polymorphism

    soon
  9. 09

    Visitor — Double Dispatch and Adding Operations Without Subclassing

    soon
  10. 10

    Anti-Patterns — God Object, Anemic Domain Model, Primitive Obsession

    soon