Design Patterns 04 - Factory Method pattern


This series of articles, " Design Patterns are" in an article entitled " Design Patterns 03 - Template Method pattern ", in the Template Method pattern, the processing flow of the program we defined in the parent class, and the achievement of specific processing logic in a subclass, if we call this the template method pattern to generate instances in the past, it is to use the template method pattern to create an instance of the factory building, then formed the factory method pattern paper to be introduced.

Published 73 original articles · won praise 84 · views 470 000 +

Guess you like