談?wù)勎夜ぷ髦械?3個(gè)設(shè)計(jì)模式

序
創(chuàng)建型模式 5
抽象工廠(Abstract Factory):多套方案

生成器(Builder):善于分解

工廠方法(Factory Method):抽象思考

原型(Prototype):傳承知識(shí)

單件(Singleton):專注

結(jié)構(gòu)型模式 7
適配器(Adapter):適應(yīng)能力

橋接(Bridge):合理關(guān)系

組合(Composite):遞歸思考

裝飾(Decorator):增量?jī)r(jià)值

外觀(Facade):深入淺出

享元(Flyweight):善于鏈接

代理(Proxy):理解保護(hù)

行為型模式 11
責(zé)任鏈(Chain of Responsibility):能力與責(zé)任

命令(Command):加強(qiáng)合作

解釋器(Interpreter):加強(qiáng)理解

迭代器(Iterator):橫向職責(zé)

中介者(Mediator):協(xié)調(diào)能力

備忘錄(Memento):小步快跑

觀察者(Observer):主觀能動(dòng)性

狀態(tài)(State):管理自己

策略(Strategy):理解決策

模板(Template):標(biāo)準(zhǔn)化能力

訪問者(Visitor):學(xué)會(huì)放手

總結(jié)
評(píng)論
圖片
表情
