sidebar_position | title |
---|---|
1 |
Overview |
Design patterns are sort of blueprints that by customization you can solve a recurring design problem.
The catalog of Gang-of-Four (the same refernce as mentioned above) classifies the design patterns as follows:
Creational patterns | Structural patterns | Behavioral patterns |
---|---|---|
These patterns can be either class-creation patterns or object-creational patterns. Increase flexibility and reuse of existing code by providing various object creation mechanism | These patterns are designed with regard to a class's structure and composition. Explain how to assemble objects and classes into larger structures while keeping these structures flexible and efficient. | These patterns are designed depending on how one class communicates with others. These patterns are concerned with algorithms and the assignment of responsibilities between objects. |