三个文件夹作用说明:
- principle:设计原则;
- patterns:设计模式;
- patterns-ts:基于TypeScript的设计模式实现。
- SRP;
- OCP;
- LSP;
- ISP;
- DIP。
- Abstract Factory;
- Builder;
- Factory Method;
- Prototype;
- Singleton。
- Adapter;
- Bridge;
- Composite;
- Decorator;
- Facade;
- FlyWeight;
- Proxy;
- Chain Of Responsibility;
- Command;
- Interpreter:
- Iterator;
- Mediator;
- Memento;
- Observer;
- State;
- Strategy;
- Template Method;
- Visitor。