Skip to content

Commit 78c2bc2

Browse files
committed
Added item to FAQ.
1 parent bc03412 commit 78c2bc2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,9 @@ In Template Method the algorithm is chosen at compile time via inheritance. With
496496

497497
The difference is the intent of the patterns. While Proxy controls access to the object Decorator is used to add responsibilities to the object.
498498

499+
**<a id="Q4">Q: What is the difference between Chain of Responsibility and Intercepting Filter patterns?</a>**
500+
501+
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.
499502

500503

501504
# How to contribute

0 commit comments

Comments
 (0)