Home / premium
Pluggable Adapter 2: The Revenge of Classes and Objects
chris | 25 November

Were you horrified by last episode’s Pluggable Adapter? Do you recoil at the mention of the word “callback”? Do you

Read More
Pluggable Adapters
chris | 22 November

You’ll need an account to access this thunky content. Sign-up for a most compendious plan now! If you previously created

Read More
The Class Adapter
chris | 18 November

It’s easy to fixate on the class or object version of the Adapter Pattern. But if you’re adapting something, it’s

Read More
Runtime Successors in the Chain of Responsibility
chris | 11 November

You didn’t think the successor chain had to be hard-coded into the class definitions, did you? Of course not! So

Read More
Non-Delivery in the Chain of Responsibility
chris | 8 November

What happens when a request reaches the end of the successor chain? Does it get lost in the ether? Should

Read More
Auto-Forwarding the Chain of Responsibility
chris | 4 November

If you’re working in a truly thunky language, there is a nifty little solution that helps avoid repeating successor chain

Read More
Multi-Requested Chain of Responsibility
chris | 1 November

Eliminating conditionals is the Chain of Responsibility’s power. But flexibility is the pattern’s super power. Let’s look at the different

Read More
Whither the Successor in the Chain of Responsibility
chris | 28 October

The successor chain is kinda important in the Chain of Responsibility. So where it is located is important. Thankfully, this

Read More
Command Explosion
chris | 21 October

The Command Pattern is pretty great, but there seems to be a lot of code involved. How do we keep

Read More
Macro Commands
chris | 18 October

Can you build commands from other commands? You betcha! Just be on the lookout for better redo because macros can

Read More