- 博客(3)
- 收藏
- 关注
原创 Factory Method
DefinationDefine an interface for creating an object, but let subclasses decide which class to instantiate. Lets a class defer instantiation to subclass. - GofProblemProject has already been pub
2008-11-17 16:01:00 169
原创 Singleton pattern
Today i will introduce the second pattern, singleton pattern. When i first know it, i thought it is a very simple pattern. But after training, i dont think so already. This is the only pattern wi
2008-11-11 13:07:00 140 1
原创 Template Method
After learned all the 23 design patterns, I decided to write something by English to practice English and emphasize the knowledge about patterns. All the sample code is written by Flex. At f
2008-11-10 12:48:00 257
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人