Loading...

premium

Home / premium
Visitor vs Iterator!
chris | 6 January

At first blush, it might seem like an iterator can solve the same problem that the Visitor Pattern solves. But

Read More
Adding New Types to the Visitor Object Structure
chris | 3 January

The visitor pattern works best with mature, stable object structures. But since those rarely exist, let’s look at making the

Read More
Who Travels the Object Structure in the Visitor?
chris | 30 December

The answer to that question can get a little intense. Well, no, not really, but it definitely makes for some

Read More
New Operations in the Visitor Pattern
chris | 27 December

It’s easy to add new operations with the Visitor Pattern. How easy? Can I add 2 in a single, compendious

Read More
Choosing Implementors on the Fly
chris | 20 December

You can get pretty creative with implementors in the Bridge Pattern. We’ve already seen some examples of that, but swapping

Read More
Sharing Implementors in the Bridge Pattern
chris | 16 December

Once you have solid separation of abstraction and implementation with the bridge pattern, it’s time to exploit. In this episode,

Read More
Choose Your Own Bridge Implementor
chris | 13 December

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

Read More
Extreme Extensibility in the Bridge Pattern
chris | 9 December

Code that rocks the Bridge Pattern tends to be wonderful. It’s easy to maintain. It’s easy to extend. It’s also

Read More
Async Adapters
chris | 2 December

Patterns aren’t just for old-fashioned, blocking code. You can find many — like the Adapter Pattern — in asynchronous code.

Read More
Two-Way Adapters
chris | 29 November

Adapter code that needs to function natively in both our code and their code needs a little kick. It needs…

Read More