Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

design-patterns

> 设计协作
Open source

:briefcase: Design patterns written in different programming languages :triangular_ruler:

389 stars0 likes0 views
WebsiteGitHub

About

:briefcase: Design patterns written in different programming languages :triangular_ruler:

Design patterns

In software engineering, a software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template used to know how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that a programmer can use to solve common problems while designing an application or system. Design patterns may be viewed as a structured approach to computer programming intermediate between the levels of a programming paradigm and a concrete algorithm.

List of implementations

  • Behavioral
    • Callback
    • Chain Of Responsibility
    • Command
    • Delegation
    • Iterator
    • Null Object
    • Observer
    • State
    • Strategy
    • Template Method
    • Visitor
    • Interpreter
    • Mediator
  • Concurrency
    • Active Object
    • Balking Pattern
    • Concurrent Server
    • Fan Out
    • Guarded Suspension
    • Mutext
    • Semaphores
    • Observer
    • Thread Pool
  • Creational
    • Abstract Factory
    • Builder
    • Dependency Injection
    • Factory
    • Lazy Initialization
    • Method Chaining
    • Prototype
    • Singleton
    • Value Object
  • Structural
    • Adapter
    • Bridge
    • Builder
    • Composite
    • Decorator
    • Filter
    • Flyweight
    • Facade
    • Repository
    • PrivateClass
    • Proxy
    • TransactionalStack

Contribution

  • Contributions are always welcome. Language doesn't matter. Just make sure you're implementing design pattern.

  • PRs are welcome. To begin developing, follow the structure:

    category/design pattern name/language-name/file_name.extension

    e.g

    Creational/Abstract factory/python/abstract_factory.py

  • Don't forget to add README with explanation how pattern works, when to use and common usage of the pattern.

  • Adding image with UML diagram for design pattern would be very helpful.

Resources

Curated list of resources dealing with design patterns.

  • Books
    • Head First Design Patterns 2nd Edition [Python] [Java]
    • Elements of Reusable Object-Oriented Software
    • Design Patterns Explained: A New Perspective on Object Oriented Design
    • Patterns of Enterprise Application Architecture
  • Free e-books
    • Design Pattern in C++
    • Design Pattern in Javascript
  • Sites
    • Design patterns
    • Geeks for geeks design patterns
    • Source making Design patterns
    • Java Desgin Pattens Example tutorial
    • Learn about Design Patterns
    • Design Patterns - refactoring.guru
  • Online classes (Free)
    • Design Patterns - Coursera
    • Hackr.io list

License

To the extent possible under law, Zoran Pandovski has waived all copyright and related or neighboring rights to this work.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javacppcsharpdesign-patterndesign-patterns

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨