Design Pattern(摘要)
文章平均质量分 77
slice2cpp
这个作者很懒,什么都没留下…
展开
-
Introduce of design pattern
It is often suggested that people lenarn design patterns only after they have mastered basic object-oriented skills.I have found that the opposite is true:learning design pattern early in the learning of object-oriented skills greatly helps to impr原创 2010-10-15 22:49:00 · 184 阅读 · 0 评论 -
The Facade Pattern
Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.原创 2010-10-15 23:31:00 · 125 阅读 · 0 评论 -
The Adapter Pattern
<br />the intent of the Adapter pattern is to Convert the interface of a class into another interface that the clients expect. Adapter lets classes work together that could not otherwise because of incompatible interfacesThe Adapter Pattern: Key Features<b原创 2010-10-18 22:42:00 · 171 阅读 · 0 评论 -
The Bridge Pattern
the intent of the Bridge pattern is to "De-couple an abstraction from its implementation so that the two can vary independently."The Bridge pattern separates variations in abstraction and implementation to solve the class explosion problem.Using design pat原创 2010-10-18 23:15:00 · 252 阅读 · 0 评论