Double Dispatch To The Rescue

In working out a tricky design issue surrounding the usage of the Visitor pattern, I stumbled upon the related Double Dispatch pattern/mechanism. In short, double dispatch, when implemented, allows an object – a “dispatcher” – to delegate method calls based...