https://github.com/mrgravity817/design-patterns
Design patterns, implemented with languages I often use.
https://github.com/mrgravity817/design-patterns
clojure dart design-patterns elixir rust typescript
Last synced: 11 months ago
JSON representation
Design patterns, implemented with languages I often use.
- Host: GitHub
- URL: https://github.com/mrgravity817/design-patterns
- Owner: MRGRAVITY817
- Created: 2023-12-20T02:05:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T06:12:00.000Z (about 2 years ago)
- Last Synced: 2025-01-07T12:14:44.498Z (about 1 year ago)
- Topics: clojure, dart, design-patterns, elixir, rust, typescript
- Language: Elixir
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design Patterns
GoF's design patterns implemented in programming languages I mainly use.
## Index
- 🪄 : Creational Pattern
- 🏛️: Structural Pattern
- 🍿 : Behavioral Pattern
| Patterns \ Language | Rust | Elixir | Clojure | Dart | Typescript |
| -------------------------- | :----------------------------------: | :----------------------------------------------------: | :-----------------------------------: | :-----------------------------: | :--------: |
| 🪄 Abstract Factory | [✅](./rust/src/abstract_factory.rs) | [✅](./elixir/lib/design_patterns/abstract_factory.ex) | | | |
| 🪄 Factory Method | | | | | |
| 🪄 Builder | [✅](./rust/src/builder/mod.rs) | | | | |
| 🪄 Prototype | [✅](./rust/src/prototype.rs) | | | | |
| 🪄 Singleton | [✅](./rust/src/singleton.rs) | [✅](./elixir/lib/design_patterns/singleton.ex) | [✅](./clojure/src/dev/singleton.clj) | [✅](./dart/lib/singleton.dart) | |
| 🏛️ Adapter (class) | | [✅](./elixir/lib/design_patterns/class_adapter.ex) | | | |
| 🏛️ Adapter (object) | | [✅](./elixir/lib/design_patterns/object_adapter.ex) | | | |
| 🏛️ Bridge | | | | | |
| 🏛️ Composite | | | | | |
| 🏛️ Decorator | | | | | |
| 🏛️ Facade | | | | | |
| 🏛️ Flyweight | | | | | |
| 🏛️ Proxy | | | | | |
| 🍿 Interpreter | | | | | |
| 🍿 Template Method | | | | | |
| 🍿 Chain of Responsibility | | | | | |
| 🍿 Command | | | | | |
| 🍿 Iterator | | | | | |
| 🍿 Mediator | | | | | |
| 🍿 Memento | | | | | |
| 🍿 Observer | | | | | |
| 🍿 State | | | | | |
| 🍿 Strategy | | | | | |
| 🍿 Visitor | | | | | |