In Part 1 of this series we learned about the benefits of the Visitor Pattern and saw a basic approach according to the GoF description. As clean and elegant the visitor pattern might look in the first place, it nonetheless has its disadvantages. Say, we want to add a new shape TShapeTriangle. We ...
More...