每一种设计模式都有它特定的环境;不能为了模式而设计;模式不是万能的,不可滥用! 参考资料: https://gof.quanke.name/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F%E6%A6%82%E8%BF%B0.html http://book.codedq.net/design-pattern/index.html http://www.runoob.com/design-pattern/design-pattern-intro.html