All About Design Patterns
· One min read
Definition​
Design Patterns represent solutions to problems that arise when developing software within a particular context. Patterns help you learn from other's successes, instead of your own failures. Mark Johnson (cited by Bruce Eckel)
Types of Design Patterns​
There are three types of design patterns
- Creational Patterns: Creational Patterns deals with initializing and configuring classes and objects
- Structural Patterns: Structural Patterns deals with decoupling the interface and implementation of classes and objects
- Behavioral Patterns: Behavioral Patterns deals with dynamic interactions among societies of classes and objects
These three design patters are divided in to 22 different kinds of patterns as shown below.