The Art of Delphi Programming – Some of you might have already heard of the Visitor Pattern, especially if you have read the GoF book Design Patterns, but do you really use it? Do you use it often? The common answer to this question is No. Once I was even confrontated with the question “Does anybody use it in real code at all?”. Well, I do – and here I’m going to explain the why and the how. Actually there are different hows and at the end I will introduce a real elegant how… Some basics: the Visitor Pattern is used to decouple an operation from the class it operates on and thus allows to ...
Visits by Source
Users who voted for this posting