Design pattern

1. All patterns provide a way to let some part of a system vary independently of all other parts.

2. Leave the class working well, and change the others.

3. Program to an interface, not an implementation.

posted on 2012-09-24 00:00  很遗憾我不是  阅读(133)  评论(0编辑  收藏  举报