Android设计模式

设计模式学习笔记

2019-12-05  本文已影响0人  Charles1993

设计原则学习笔记

设计模式是前人(四人帮)在面向对面向对象编程的过程中经验,发现好的代码,总结下来,在特定的应用场景下,方便广大程序员复用。同时设计模式也是程序员中沟通的术语,熟练掌握设计模式,有助于我们写出可阅读的代码和阅读别人的代码。
设计模式一共被总结出23种,每种设计模式有各自的用途,不同的设计模式又有联系。

设计模式关系图

设计模式分类如下:

创建 结构 行为
Abstract Factory Adapter Chain of Responsibility
Builder Bridge Command
Factory Method Composite Interpreter
Prototype Decorator Iterator
Singleton Facade Mediator
Flyweight Memento
Proxy Observer
State
Strategy
Template Method
Visitor
上一篇下一篇

猜你喜欢

热点阅读