I am reading about visitor pattern, and it appears the same like Double Dispatch. Is there any difference between the two. Do the two terms means the same thing.
re
From Wikipedia:
the visitor pattern simulates double dispatch in a conventional single-dispatch object-oriented language such as Java, Smalltalk, and C++.
Also from Wikipedia:
The problem described above can be resolved by simulating double dispatch, for example by using a visitor pattern.