Introduction
The Gang of Four (GoF) refers to a group of four software engineers who authored the influential book "Design Patterns: Elements of Reusable Object-Oriented Software."
Published in 1994, the book is a seminal work in the field of software engineering and design patterns. The Gang of Four consists of Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides.
In their book, they systematically cataloged and described 23 design patterns that have since become fundamental concepts in object-oriented software design, providing a common language and set of solutions for recurring design problems. The Gang of Four's contributions have significantly influenced the development of software engineering principles and best practices.
Design Patterns
The Gang of Four design patterns can be categorized into three main groups: creational, structural, and behavioral. Here are the names of the 23 patterns in their respective categories:
Creational Patterns
- Abstract Factory
- Builder
- Prototype
- Singleton
- Factory Method
Structural Patterns
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
Behavioral Patterns
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
Resources
- Design Patterns for Humans - Roadmap.sh
- Gangs of Four (GoF) Design Patterns - DigitalOcean
- Gang of Four (GOF) Design Patterns - GeeksforGeeks