Category: 【Design Patterns】

Design pattern learning (factory pattern) 0

Design pattern learning (factory pattern)

Hits: 0The factory pattern mentioned here is the simple factory pattern and the abstract factory pattern. The two have certain differences and commonalities. Simple engineering mode: Defining a class is responsible for creating instances...

Design Pattern Learning (Builder Pattern) 0

Design Pattern Learning (Builder Pattern)

Hits: 01. Builder Mode The builder is used to hide the creation process of composite objects. It abstracts the creation process of composite objects, and dynamically creates objects with composite properties through subclass inheritance...