Skip to content

Design Patterns

This section contains the most popular and commonly used design patterns in programming.

Each pattern is represented on a different page, and the structure of each page is as follows:

  • Explanation of the Pattern
  • Common Use Cases
  • Code Samples in one or more of the following languages:
    • Rust
    • TypeScript

Covered design patterns

  • Creational
    • Singleton
    • Prototype
    • Builder
    • Factory
  • Structural
    • Facade
    • Proxy
    • Adapter
    • Decorator
    • Flyweight
    • Composite
    • Bridge
  • Structural
    • Chain of Responsibility
    • Iterator
    • Observer
    • Mediator
    • State
    • Strategy
    • Template
    • Command