0

Abstract Factory Python Example

bmiselis 4 года назад 0

Hi,

I've been reading your example on creating abstract factories in Python (https://refactoring.guru/design-patterns/abstract-factory/python/example) and noticed some incoherence:

when you implement a concrete factory, the comment states that signatures of the method should return the abstract product, but in the example a ConcreteProductA1/ConcreteProductB1 are returned. I guess it's wrong, right?

Сервис поддержки клиентов работает на платформе UserEcho