Skip to content

Commit 2aa9681

Browse files
committed
Merge pull request iluwatar#178 from npathai/master
Changed improper description about double dispatch in FAQ section
2 parents 3adffb6 + 88c2e7d commit 2aa9681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ While the implementations look similar there are differences. The Chain of Respo
736736

737737
**<a id="Q5">Q: What is the difference between Visitor and Double Dispatch patterns?</a>**
738738

739-
The Visitor pattern is a means of adding a new operation to existing classes. Double dispatch is a means of dispatching function calls with respect to two polymorphic types, rather than a single polymorphic type, which is what languages like C++ and Java support directly.
739+
The Visitor pattern is a means of adding a new operation to existing classes. Double dispatch is a means of dispatching function calls with respect to two polymorphic types, rather than a single polymorphic type, which is what languages like C++ and Java _do not_ support directly.
740740

741741
**<a id="Q6">Q: What are the differences between Flyweight and Object Pool patterns?</a>**
742742

0 commit comments

Comments
 (0)