No Free Time

Because my therapist says I need to let things out

The Visitor Pattern, Double Dispatch and Reflection Performance

without comments

Was listening to Herding Code #70 this morning and heard the Visitor Pattern mentioned. It was new to me (in theory but not in practise) so I was led merrily down the garden path.

Background and definition of the Visitor Pattern.

An example of the visitor pattern in C# using double-dispatch and reflection.

A great article about reflection and MemberInfo cache.

Written by tad

January 29th, 2010 at 12:23 am

Posted in patterns

Tagged with ,

Leave a Reply