- You have a class hierarchy that is effectively sealed.
- There are many distinct operations to perform on it.
- The operations are orthogonal to the core purpose of the types in the hierarchy.
- You need the flexibility to define new operations over time.
Use the Visitor pattern when…
Programmers Visited
Topics
- Active Directory Services (1)
- AJAX (8)
- ASP.NET (11)
- ASP.NET MVC (1)
- Assembly (4)
- CSS (1)
- Deployment (1)
- Design Patterns (54)
- General (1)
- Interview (1)
- OOPS (2)
- SQL Server (2)
- WCF (1)
- Windows Service (2)
- WPF (2)