GoF的23种设计模式讲解和演示,参考《Design Patterns: Elements of Reusable Object-Oriented Software》一书,分别对单例模式、原型模式、工厂模式等进行代码演示和讲解。