We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab31578 commit d4ee7a7Copy full SHA for d4ee7a7
README.md
@@ -250,3 +250,7 @@ While the implementation is similar they solve different problems. The State pat
250
**Q: What is the difference between Strategy and Template Method patterns?**
251
252
In Template Method the algorithm is chosen at compile time via inheritance. With Strategy pattern the algorithm is chosen at runtime via composition.
253
+
254
+**Q: What is the difference between Proxy and Decorator patterns?**
255
256
+The difference is the intent of the patterns. While Proxy controls access to the object Decorator is used to add responsibilities to the object.
0 commit comments