Difference between double dispatch and visitor pattern in Java and C++ -
Is there any difference between double sending and visitor patterns?
I am working with Java and C ++ and wondering if there is a division between the two.
Visitor pattern is one of the means of adding a new operation to the existing classes, instead of a single paradigm shift Two (or, when normalized, more) is a means of sending a function call in terms of polynomial type, which is directly in languages such as C ++ and Java support.
Comments
Post a Comment