相关参考资源: https://blog.csdn.net/weixin_51466332/category_11666809.html
https://github.com/flyingalex/design-patterns-by-php/tree/master
https://github.com/xiaohuangniu/26
https://book.douban.com/subject/2334288/
https://www.topgoer.cn/docs/golang-design-pattern/FactorMethod golang-design-pattern
- [第一章 代码无错就是优 ---简单工厂模式]
工厂方法模式相对于简单工厂模式的优点主要有以下几点: