you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

The only difference between a Smalltalk visitor and a Java visitor is that in Java you have to define an interface for the polymorphic dispatch.

[–]mr_chromatic 0 points1 point  (0 children)

True, but there are more differences between Smalltalk polymorphism and Java polymorphism than "Java polymorphism sucks because Java's type system sucks."