The code examples demonstrate the usage of design patterns through practical but simple and clear scenarios.
Some explanation is given as inline comments. For further reading on design patterns, visit https://refactoring.guru or https://sourcemaking.com
Structural and behavioral patterns are yet to be included. If you have good examples, feel free to open PRs with suggestions.