Skip to content

Commit 25469c2

Browse files
committed
Added "How to contribute" instructions.
1 parent f7c2cad commit 25469c2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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

256256
The 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+

0 commit comments

Comments
 (0)