世界上并没有完美的程序,但是我们并不因此而沮丧,因为写程序就是一个不断追求完美的过程。
创建型模式:
工厂模式(Factory)
抽象工厂模式(Abstract Factory)
单例模式(Singleton)
建造者模式(Builder)
原型模式(Prototype)
结构型模式:
适配器模式(Adapter)
桥接模式(Bridge)
过滤器模式(Filter)
外观模式(Facade)
组合模式(Composite)
装饰模式(Decorator)
享元模式(Flyweight)
代理模式(Proxy)
行为型模式
责任链模式(Chain of Responsibility)
命令模式(Command)
解释器模式(Interpreter)
迭代器模式(Iterator)
中介者模式(Mediator)
备忘录模式(Memento)
观察者模式(Observer)
状态模式(State)
空对象模式(Null Object)
策略模式(Strategy)
模板模式(Template)
访问者模式(Visitor)