Welcome to design-pattern-is-cool! This repository showcases design pattern examples implemented in multiple programming languages. Whether you're a beginner or an experienced developer, find clear and concise examples to help you understand and apply various design patterns.
root/
├── gangs-of-four/
│ └── <pattern-name>/
│ ├── samples/
│ │ ├── <pattern-name>.<language-extension>
│ │ └── ...
│ └──<pattern-name>.md
└── README.md
- Kotlin
- Python
- Java
- Typescript
- Dart
- C++
- Rust
- Swift
- Go
- Ruby
Syntax
sh scripts/run_sample <folder_path> <file_extension>
Example
sh scripts/run_sample 'gangs-of-four/composite' 'py'
Contributions are welcome! If you have a design pattern example in a programming language not yet covered, or if you can improve an existing example, please feel free to open a pull request.
This project is licensed under the MIT License