Giter Site home page Giter Site logo

whaom / gof-design-patterns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clpsz/gof-design-patterns

0.0 1.0 0.0 232 KB

“四人帮”-《设计模式:可复用面向对象软件的基础》所有模式的实现,使用C++语言

License: GNU General Public License v2.0

C++ 87.20% Makefile 12.80%

gof-design-patterns's Introduction

#背景 本项目代码是GOF《设计模式:可复用面向对象软件的基础》中所有模式的简单实现。

之前的另外一个项目Head First设计模式,是它的通俗易懂的版本。因为当时能力有限,直接看GOF的书发现看不下去,做了一段时间OO后再看,基本就能看懂了。

从星期六写到今天星期二早上,把23个设计模式都简单实现的了一遍。代码比较简单,也没有考虑效率、风格,有些代码甚至连有new出来的对象没释放的情况。主要目的就是演示各个设计模式的基本用法。

gof-design-patterns's People

Contributors

clpsz avatar

Watchers

James Cloos 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.