Loading...

Author: chris

Home / Author Archive
Composite Hierarchies
chris | 18 February

Composing is built into the Composite Pattern name. But it goes a bit beyond composing simple composites of composites. We

Read More
Composite Pattern Intro
chris | 14 February

Sometimes you really want to operate a swarm of objects the exact same way that you’d operate a single instance

Read More
Unshared Flyweights
chris | 9 February

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

Read More
Sharing Data Structures in the Flyweight
chris | 30 January

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

Read More
Flyweight Flow
chris | 27 January

Minimizing the amount of information traveling between context code and the Flyweight is the name of the game. How we

Read More
Simple Flyweight Communication
chris | 20 January

The key concept in the Flyweight Pattern depends on what the heck “extrinsic” means. To figure that out, let’s first

Read More
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