多种语言实现的设计模式集合

项目简介

本项目旨在通过示例代码介绍编程过程中常见的设计模式。示例代码使用的语言包括但不限于C++, Java, Python, PHP, Perl.

进度跟踪

设计模式 C++ Java Python PHP Perl
singleton DONE DONE DONE DONE DONE
proxy DONE DONE DONE DONE DONE
builder DONE DONE DONE DONE DONE
command DONE DONE DONE DONE DONE
decorator DONE DONE DONE DONE DONE
facade DONE DONE DONE DONE DONE
observer DONE DONE DONE DONE DONE
template DONE DONE DONE DONE DONE
adapter DONE DONE DONE DONE DONE
flyweight DONE DONE DONE DONE DONE
bridge DONE DONE DONE DONE DONE
composite DONE DONE DONE DONE DONE
interpreter DONE DONE [TODO] DONE DONE
mediator DONE DONE DONE DONE DONE
memento DONE DONE DONE DONE DONE
state DONE DONE DONE DONE DONE
prototype DONE DONE DONE DONE DONE
strategy DONE DONE DONE DONE DONE
visitor DONE DONE DONE DONE DONE
simple-factory DONE DONE [TODO] DONE DONE
abstract-factory DONE DONE DONE DONE DONE
factory-method DONE DONE DONE DONE DONE
chain-of-responsibility DONE DONE DONE DONE DONE
iterator DONE [TODO] DONE DONE
null-object DONE [TODO] DONE DONE
object-pool DONE [TODO] [TODO] DONE
private-class-data [TODO] [TODO] [TODO] [TODO]

帮助改进

欢迎发送 pull request.

版权声明

Copyright © 2013-2015 0xnz , All rights reserved.

版权所有,禁止用于商业用途

    原文作者:算法小白
    原文地址: https://juejin.im/entry/561d1c7500b0387b42d518b9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞