Loading...

visitor pattern

Home / visitor pattern
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