design pattern

Home / design pattern
Flyweight Intro
chris | 14 January

When memory matters (and it kinda matters everywhere), the flyweight pattern is super… fly! It’s used way more often than

Read More
When Visitors Get Too Friendly
chris | 10 January

Friends are amazing. They’re a good thing in code too. But it’s easy to get too much of a good

Read More
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
Visitor Pattern Intro
chris | 23 December

Object structures tend to mimic life. Which is to say, that they’re a complete mess. But thanks to the Visitor

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