Giter VIP home page Giter VIP logo

design-patterns's Introduction

C++ Design Patterns

C++ Implementation for 23 Design Patterns

Creational Patterns

Structural Patterns

  • Adapter, interface to an object image
  • Bridge, implementation of an object image
  • Composite, structure and composition of an object image
  • Decorator, responsibilities of an object without subclassing image
  • Façade, interface to a subsystem image
  • Flyweight, storage costs of objects image
  • Proxy, how an object is accessed (its location) image

Behavioral Patterns

  • Chain of Responsibility, object that can fulfill a request image
  • Command, when and how a request is fulfilled image
  • Interpreter, grammar and interpretation of a language image
  • Iterator, how an aggregate's elements are accessed image
  • Mediator, how and which objects interact with each other image
  • Memento, what private information is stored outside an object, and when image
  • Observer, how the dependent objects stay up to date image
  • State, states of an object image
  • Strategy, an algorithm image
  • Template Method, steps of an algorithm image
  • Visitor, operations that can be applied to objects without changing their classes image

References

Design patterns in this repository are based on

design-patterns's People

Contributors

jakubvojvoda avatar junzhuodu avatar tan-wei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.