Difference betwen Visitor pattern & Double Dispatch

In short they come from to different conceptualizations that, in some languages where double dispatch is not natively supported, lead to the visitor pattern as a way to concatenate two (or more) single dispatch in order to have a multi-dispatch surrogate. In long The idea of multiple dispatch is – essentially – allow a call … Read more