From 78c2bc274bb3f10063ebec5c1df30a13969f6f22 Mon Sep 17 00:00:00 2001 From: Ilkka Seppala Date: Thu, 9 Apr 2015 23:00:54 +0300 Subject: [PATCH] Added item to FAQ. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index bf042a153..ddcd4a87e 100644 --- a/README.md +++ b/README.md @@ -496,6 +496,9 @@ In Template Method the algorithm is chosen at compile time via inheritance. With The difference is the intent of the patterns. While Proxy controls access to the object Decorator is used to add responsibilities to the object. +**Q: What is the difference between Chain of Responsibility and Intercepting Filter patterns?** + +While the implementations look similar there are differences. The Chain of Responsibility forms a chain of request processors and the processors are then executed one by one until the correct processor is found. In Intercepting Filter the chain is constructed from filters and the whole chain is always executed. # How to contribute