always-be-coding
All problems in computer science can be solved by another level of indirection.
抽象工厂模式(Abstract Factory Pattern) 抽象工厂模式(Abstract Factory Pattern)
抽象工厂模式抽象工厂模式(Abstract Factory Pattern)是围绕一个超级工厂创建其他工厂。该超级工厂又称为其他工厂的工厂。这种类型的设计模式属于创建型模式,它提供了一种创建对象的最佳方式。 在抽象工厂模式中,接口是负责创建
2022-06-11