Design_Pattern
创建型模式
模式名称 | 代码示例 | 例子 |
---|---|---|
工厂方法模式 | factory | factory example |
抽象工厂模式 | abstract factory | abstract factory example |
生成器模式 | builder | builder example |
原型模式 | prototype | prototype example |
单例模式 | singleton | singleton example |
23 Design patterns with python.
模式名称 | 代码示例 | 例子 |
---|---|---|
工厂方法模式 | factory | factory example |
抽象工厂模式 | abstract factory | abstract factory example |
生成器模式 | builder | builder example |
原型模式 | prototype | prototype example |
单例模式 | singleton | singleton example |
23 Design patterns with python.
MIT License