Here I work out an example of each design pattern listed from the gang of four book, Design Patterns Elements of Reusable Object-Oriented Software
- Abstract Factory
- Builder
- Factory method
- Prototype
- Singleton
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Chain of responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template
- Visitor