# kama-DesignPattern **Repository Path**: terryding/kama-DesignPattern ## Basic Information - **Project Name**: kama-DesignPattern - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-01 - **Last Updated**: 2024-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 卡码网设计模式精讲 用Java讲解23种设计模式,每篇讲解下方有对应的 CPP,Python,GO代码,其他语言版本,欢迎大家[提交PR](https://www.programmercarl.com/qita/join.html),贡献一波。 本仓库配套[卡码网设计模式专属练习题库](https://kamacoder.com/designpattern.php) ## 前言 “设计模式”被公认为是软件开发的最佳实践,但也一直是“高深、玄妙”的代名词,这也导致很多人对其望而生畏,缺乏对其概念的基本认识。 因此[卡码网](https://kamacoder.com/)推出了设计模式基础教程,免费公开给本站的用户,旨在让你对23种“设计模式”有所了解,能知道其基本骨架,初步认识设计模式的使用场景。 区别于网上其他教程,本教程的特点是: * **23种设计模式全覆盖**,涵盖了所有Gang of Four设计模式,包括创建型、结构型和行为型设计模式。 * 通过23道简单而实用的例子,**以刷算法题的形式了解每种设计模式的概念、结构和应用场景**。 * **为每个设计模式提供清晰的文字解释、结构图和代码演示**,帮助你更好地理解和实践。 * **难度安排循序渐进**,从基础的、常用的设计模式逐步深入。 设计模式大纲: ![image-20240103193726391](https://kstar-1253855093.cos.ap-nanjing.myqcloud.com/baguwen1.0/image-20240103193726391.png) 本PDF提供 23种设计模式的讲解,同时给出对应的练习题目,在:[设计模式专属练习题库](https://kamacoder.com/designpattern.php) ## 目录 [1、单例模式](./DesignPattern/1-单例模式.md) [2、工厂方法模式](./DesignPattern/2-工厂方法模式.md) [3、抽象工厂模式](./DesignPattern/3-抽象工厂模式.md) [4、建造者模式](./DesignPattern/4-建造者模式.md) [5、原型模式](./DesignPattern/5-原型模式.md) [6、适配器模式](./DesignPattern/6-适配器模式.md) [7、代理模式](./DesignPattern/7-代理模式.md) [8、装饰模式](./DesignPattern/8-装饰模式.md) [9、外观模式](./DesignPattern/9-外观模式.md) [10、桥接模式](./DesignPattern/10-桥接模式.md) [11、组合模式](./DesignPattern/11-组合模式.md) [12、享元模式](./DesignPattern/12-享元模式.md) [13、观察者模式](./DesignPattern/13-观察者模式.md) [14、策略模式](./DesignPattern/14-策略模式.md) [15、命令模式](./DesignPattern/15-命令模式.md) [16、中介者模式](./DesignPattern/16-中介者模式.md) [17、备忘录模式](./DesignPattern/17-备忘录模式.md) [18、模板方法模式](./DesignPattern/18-模板方法模式.md) [19、迭代器模式](./DesignPattern/19-迭代器模式.md) [20、状态模式](./DesignPattern/20-状态模式.md) [21、责任链模式](./DesignPattern/21-责任链模式.md) [22、解释器模式](./DesignPattern/22-解释器模式.md) [23、访问者模式](./DesignPattern/23-访问者模式.md)