JakubVojvoda/design-patterns-cpp
JakubVojvoda/design-patterns-cpp has 4,560 GitHub stars and 965 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 15:38 UTC. Last push 2024-05-12.
C++ Design Patterns
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalC++ Design Patterns
Software design patterns are general reusable solutions to problems which occur over and over again in object-oriented design enviroment. It is not a finished design that can be transformed into source code directly, but it is template how to solve the problem. We can classify them by purpose into creational (abstract the instantiation process), structure (how classes and objects are composed to form larger structures) and behavioral patterns (the assignment of responsibilities between objects).
Creational Patterns
- Abstract Factory, families of product objects
- Builder, how a composite object gets created
- Factory Method, subclass of object that is instantiated
- Prototype, class of object that is instantiated
- Singleton, the sole instance of a class
Structural Patterns
- Adapter, interface to an object
- Bridge, implementation of an object
- Composite, structure and composition of an object
- Decorator, responsibilities of an object without subclassing
- Façade, interface to a subsystem
- Flyweight, storage costs of objects
- Proxy, how an object is accessed (its location)
Behavioral Patterns
- Chain of Responsibility, object that can fulfill a request
- Command, when and how a request is fulfilled
- Interpreter, grammar and interpretation of a language
- Iterator, how an aggregate's elements are accessed
- Mediator, how and which objects interact with each other
- Memento, what private information is stored outside an object, and when
- Observer, how the dependent objects stay up to date
- State, states of an object
- Strategy, an algorithm
- Template Method, steps of an algorithm
- Visitor, operations that can be applied to objects without changing their classes
Other Languages
In my repository you can find implementation of desgin patterns also in languages as
References
Design patterns in this repository are based on
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,941 starspublic-apis/public-apis
A collective list of free APIs
497,202 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
442,610 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,181 stars