Error!
Success!

C# Design Patterns - The Visitor Pattern

0
kicks

C# Design Patterns - The Visitor Pattern  (Unpublished)

One principle that I really like is the Open/Closed principle which says that an object should be open to new functionality but closed to structural changes. The visitor pattern helps facilitate this principle by giving us the means to perform operations against an object without changing the objects structure. Looking back at a previous pattern we wanted to adjust the registration cost for a dog if they had been picked up by the dog catcher.


Kicked By:
Drop Kicked By: