Key Points
#1. We need to know design patterns to find solutions for frequently occurring problems. And we want to reuse these solutions whenever we face a similar situation in the future.
#2. These are one kind of template to address solutions in many different situations.
#3. In other words, these are the descriptions of how different objects and their respective classes solve a design problem in a specific context.
#4. Here we have discussed 23 design patterns as outlined by the Gang of Four. These patterns can be classified into three major categories:
- Creational Patterns:
These patterns mainly deal with the instantiation process. Here we make the systems independent from how their objects are created, collected, or represented. The following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access