“Link to” in the title indicates that I am writing about something that somebody else wrote, somebody a lot smarter than myself.
Eric Lippert wrote a great post on emulating double dispatch in c#. Actually this is part 3 of a series, and I recommend reading the whole thing.
I’ve mentioned it before, but must reiterate: there’s something about his writing that makes me feel so damn inadequate every time. I haven’t gotten my head around that post yet, which is not unusual because I frequently need to read his posts more than once to understand them. But I do understand just enough to want to understand more… Enjoy!