Screencasts of principles, patterns & wanton code play
Series Pass or an individual pattern pack required.
At first blush, it might seem like an iterator can solve the same problem that the Visitor Pattern solves. But
The visitor pattern works best with mature, stable object structures. But since those rarely exist, let’s look at making the
The answer to that question can get a little intense. Well, no, not really, but it definitely makes for some
It’s easy to add new operations with the Visitor Pattern. How easy? Can I add 2 in a single, compendious
You can get pretty creative with implementors in the Bridge Pattern. We’ve already seen some examples of that, but swapping
Once you have solid separation of abstraction and implementation with the bridge pattern, it’s time to exploit. In this episode,
You’ll need an account to access this thunky content. Sign-up for a most compendious plan now! If you previously created
Code that rocks the Bridge Pattern tends to be wonderful. It’s easy to maintain. It’s easy to extend. It’s also
Patterns aren’t just for old-fashioned, blocking code. You can find many — like the Adapter Pattern — in asynchronous code.
Adapter code that needs to function natively in both our code and their code needs a little kick. It needs…