These are the broad category of Design Patterns
Creational
- Constructor
- Module
- Factory
- Singleton
Behavioural
- Command
- Mediator
- Observer
- Strategy
These are some of the most widely used design patterns. Will plan and cover each one of these (in the process of brushing my rusty skill sets too :))
Most design patterns are not a Class or a method that can be directly plugged into code and make things work. Its more of a well proven approach that can help solve common set of problems faced during software development cycle.
A good design pattern should be implementable in most—if not all—languages, depending on the capabilities of the language. Most importantly, any design pattern can be a double-edged sword— if implemented in the wrong place, it can be disastrous and create many problems for you

One response to “Types of Design Patterns”
[…] of algorithms on need basis. Strategy Pattern is part of Behavioural Design Patterns. More on types of Patterns here . Lets understand this with an example using C# : Problem : There are a wide variety of Ducks with […]
LikeLike