-
Design patterns provide lots of benefits, including:
- Providing a general standard for communication among developers.
- Reducing development time and speeding up the development process.
- Providing proven solutions to common re-occurring problems.
- Provides best practices to get a clean reusable, and bug-free codebase.
- Providing a core/foundation upon which you can build solutions to re-occurring issues in software design.
- There are 23 design patterns, divided into three categories, which are:
- Structural
- Behavioural, and
- Creational
- They deal with the way Classes and Objects are created/instantiated. There are 5 design patterns under creational design patternscategory, and they are:
- These are design patterns that deals with the way Classes and Objects get composed. It deals with the way objects combine to achieve the desired result. There are seven design patterns under this category, and they include:
- These are design patterns that deal with how Objects communicate with one another. There are 11 design patterns in this category. They include: