Composition

Bridge

Three kinds of notification and three channels make nine classes, and Slack makes twelve. Learn how Bridge turns that into three plus three, and how it differs from Adapter and Strategy.

November 26, 20269 minutes

Adapter

Twelve call sites print receipts, and the new printer only speaks bytes. Learn how one Adapter class lets your code keep its own interface, and how it differs from Decorator, Proxy and Facade.

November 25, 20268 minutes

Decorator Pattern

Seven classes for three features, or three small wrappers? Learn how the Decorator pattern adds one job at a time through the same interface, with plug-in adapters, java.io streams, diagrams, Java code and a narrated video.

November 25, 202610 minutes