Visitor
This design pattern is usually a close friend of the Composite design pattern that we discussed in Chapter 3, Understanding Structural Patterns. It can either extract data from a complex tree-like structure or add behavior to each node of the tree, much like the Decorator design pattern.
So, my plan, being a lazy software architect, worked out quite well. Both my mail-sending system from Builder and my request-answering system from Chain of Responsibility worked quite well. But some developers still begin to suspect that I'm a bit of a fraud.
To confuse them, I plan to produce weekly emails with links to all the latest buzzword articles. Of course, I don't plan to read them myself, just collect them from some popular technology sites. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access