What are the 23 complete design patterns? Is there any Delegation pattern?
23 Three design modes:
Creational pattern: Singleton pattern, Abstract factory pattern, builder, factory model, Prototype pattern.
Structural pattern: Adapter pattern, Bridge pattern, Decorator Pattern, Combination Mode, facade pattern, Flyweight Pattern, Agency Mode.
Behavioral pattern: Template Method Mode, Command Mode, iterator pattern, Observer pattern, Mediator Mode, Memento pattern, Interpreter Mode, Status Mode, Strategy Mode, Responsibility Chain Mode, Visitor pattern.
Delegate refers to the inclusion of other classes or interfaces in a class. Through polymorphism, some dynamic behaviors can be realized. Delegate can only be regarded as part of design pattern. Delegate is used in agents and may also be used in policy pattern.