美文网首页
Design patterns

Design patterns

作者: woniudear | 来源:发表于2018-11-30 08:25 被阅读0次

引用自:https://zhuanlan.zhihu.com/p/31675841
http://www.aleax.it/gdd_pydp.pdf
Design pattern categories:

  1. creational:Singleton ,factory,builder,prototype
    factory:define an interface for creating an object, let subclass to decide which class to initialize.
    builder:desperate the build and show case
    prototype: easy for clone
  2. structural:Proxy,
  3. behavioral

相关文章

网友评论

      本文标题:Design patterns

      本文链接:https://www.haomeiwen.com/subject/kihccqtx.html