Ray's playground

 

2012年3月22日

Prototype(Chapter 3 of Pro Objective-C Design Patterns for iOS)

摘要: The Prototype pattern is one of the simplest design patterns. A client knows an abstractPrototype class. At runtime any object that is a subclass of the abstract Prototype canbe cloned at the client’s will. So the client can make multiple instances of the same typewithout creating them manually. 阅读全文

posted @ 2012-03-22 18:22 Ray Z 阅读(269) 评论(0) 推荐(0)

Item 32: Program in the future tense.(More Effective C++)

摘要: Good software adapts well to change. It accommodates new features, it ports to new platforms, it adjusts to new demands, it handles new inputs. Software this flexible, this robust, and this reliable does not come about by accident. It is designed and implemented by programmers who conform to th... 阅读全文

posted @ 2012-03-22 10:40 Ray Z 阅读(294) 评论(0) 推荐(0)

导航