GoF Design Patterns Cheat Sheet ๐บ | Mnemonics + Images
Summary
This guide provides an easy way to memorize the Gang of Four (GoF) design patterns, complete with mnemonics and links to detailed explanations. It covers Creational, Structural, and Behavioral patterns.
This post provides memorization tips for design patterns and links to detailed explanations for each.
- The best way to memorize is to use a method you are comfortable with, ideally related to a topic you find interesting.
- The mnemonics below are for reference.
- The method I use combines acronyms and images.
- It's not enough to just know the names of the design patterns. Be sure to click the links to understand what each pattern does.
Creational Patterns
Mnemonic: SingFacBuilPAb
Singleton, Factory, Builder, Prototype, Abstract Factory

- Sing: Singleton Pattern
- Fac: Factory Method Pattern
- Buil: Builder Pattern
- P: Prototype Pattern
- Ab: Abstract Factory Pattern
Creational Patterns Explained (Links)
Structural Patterns
Mnemonic: ADPFBFC
Adapter, Decorator, Proxy, Facade, Bridge, Flyweight, Composite

- A: Adapter Pattern
- D: Decorator Pattern
- P: Proxy Pattern
- F: Facade Pattern
- B: Bridge Pattern
- F: Flyweight Pattern
- C: Composite Pattern
Structural Patterns Explained (Links)
- Adapter, Decorator, Proxy, Facade Explained + Exam Questions
- Bridge, Flyweight, Composite Explained + Exam Questions
Behavioral Patterns
Mnemonic: SO MVI SMC CT
Strategy, Observer, Mediator, Visitor, Iterator, State, Memento, Command, Chain of Responsibility, Template Method

- S: Strategy Pattern
- O: Observer Pattern
- M: Mediator Pattern
- V: Visitor Pattern
- I: Iterator Pattern
- S: State Pattern
- M: Memento Pattern
- C: Command Pattern
- C: Chain of Responsibility Pattern
- T: Template Method Pattern