Hi, Let’s get the basic knowledge of design patterns. I am not going to explain key points so that you will remember them easily.So, let’s start with a basic.
Design Patterns are the solution for commonly recurring issues.
Usage of DP:
- Speed up development process because they are well-tested and proven the best solution.
- Communication between developer becomes clear. Because rather than explaining every step of solution they just use the name of DP to get the idea what other person is saying.
Categories of DP:
There are three categories which are as following:
|Creational||These are all about class instantiation and object-creation.|
|Structural||These are all about class and object composition.|
|Behavioral||These are all about class’s object composition.|