2012年3月10日
摘要: Here are some common causes of redesign along with the design pattern(s) that address them:Creating an object by specifying a class explicitly.通过显示方式指定一个类来创建对象在创建对象时指定类名将使你受特定实现的约束,而不是特定接口的约束。Abstract Factory(87) ,Factory Method(107),Prototype(117)Dependence on specific operations.对特殊操作的依赖当你为请求指定一个特 阅读全文
posted @ 2012-03-10 10:38 江振 阅读(176) 评论(0) 推荐(0)