Do not reinvent the wheel. Just realign it.
When it comes to software world, most design level problems are already solved. Design Patterns are blueprints of these solutions which you can customize and use in your application.
Advantages ๐
- Tried and tested solutions be experienced developers.
- It helps improve developer communication. Every developer knows what a ‘Singleton’ is, right?
Common Design Patterns ๐
Creational design patterns ๐
- Abstract Factory
- Builder
- Factory Method
- Object Pool
- Prototype
- Singleton
Structural design patterns ๐
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Private Class Data
- Proxy
Behavioural design patterns ๐
- Chain of responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Null Object
- Observer
- State
- Strategy
- Template Method
- Visitor