Skip to main content

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.

Gang of Four Book Cover

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

  1. Abstract Factory
  2. Builder
  3. Prototype
  4. Singleton
  5. Factory Method

Structural Patterns

  1. Adapter
  2. Bridge
  3. Composite
  4. Decorator
  5. Facade
  6. Flyweight
  7. Proxy

Behavioral Patterns

  1. Chain of Responsibility
  2. Command
  3. Interpreter
  4. Iterator
  5. Mediator
  6. Memento
  7. Observer
  8. State
  9. Strategy
  10. Template Method
  11. Visitor

Resources