System Overview - Visitor pattern
The Visitor pattern lets you add new operations to objects without changing their classes. It separates algorithms from the objects they work on, making it easier to add features without modifying existing code.
Key requirements include supporting multiple object types and allowing new operations to be added independently.
