From 88c2e7dacd0e646a27127ba50192d35d57900d39 Mon Sep 17 00:00:00 2001 From: Narendra Pathai Date: Wed, 29 Jul 2015 16:50:36 +0530 Subject: [PATCH] Changed improper description about double dispatch in FAQ section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd100d7c6..109428295 100644 --- a/README.md +++ b/README.md @@ -736,7 +736,7 @@ While the implementations look similar there are differences. The Chain of Respo **Q: What is the difference between Visitor and Double Dispatch patterns?** -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. +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. **Q: What are the differences between Flyweight and Object Pool patterns?**