Design Pattern Riddle #23

a. If you need a new method across a structure of classes,
Then I have the design pattern for you.
If you aren’t overly concerned about encapsulation,
Then I can be useful despite my OO taboo!

a. Visitor

Need help? Here is a list of remaining Design Patterns.

Post a comment with your guess :)

~/riddle by me