File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -254,3 +254,16 @@ In Template Method the algorithm is chosen at compile time via inheritance. With
254254** Q: What is the difference between Proxy and Decorator patterns?**
255255
256256The difference is the intent of the patterns. While Proxy controls access to the object Decorator is used to add responsibilities to the object.
257+
258+
259+
260+ # How to contribute
261+
262+ For a new pattern to be added you need to do the following steps:
263+ 1 . Fork the repository.
264+ 2 . Implement the code changes in your fork. Remember to add sufficient comments documenting the implementation.
265+ 3 . Create a simple class diagram from your example code. I've used [ GenMyModel] ( https://www.genmymodel.com/ ) and its "Export as JPEG" feature.
266+ 4 . Add description of the pattern in README.md and link to the class diagram.
267+ 5 . Create a pull request.
268+
269+
You can’t perform that action at this time.
0 commit comments