
设计模式
Leonardo711
这个作者很懒,什么都没留下…
展开
-
工厂模式(facotory)
工厂模式转载 2017-04-24 10:55:20 · 416 阅读 · 0 评论 -
python共享模式
class Borg: __shared_state = {} def __init__(self): self.__dict__ = self.__shared_state self.state = '' self.exit = '' def __repr__(self): return self.state原创 2017-04-24 12:09:09 · 616 阅读 · 0 评论 -
桥接模式
1.http://blog.youkuaiyun.com/hitzjm/article/details/8283377转载 2017-04-24 12:36:23 · 319 阅读 · 0 评论