← All Patterns

Learning Roadmap

A suggested order for all 37 patterns — from first principles to expert-level. Follow the stages or jump to whatever interests you.

🌱12 Start Here
19 Level Up
🔥6 Go Deep
🌱
Stage 1

Start Here

Simple patterns with immediate real-world value. Master these first.

Stage 2

Level Up

Patterns that require understanding object relationships and trade-offs.

1

Builder Pattern

Separate construction from representation

Creational
2

Prototype Pattern

Create objects by cloning an existing prototype

Creational
3

Composite Pattern

Compose objects into tree structures to represent hierarchies

Structural
4

Decorator Pattern

Add responsibilities to objects dynamically

Structural
5

Proxy Pattern

Control access to another object through a surrogate

Structural
6

Chain of Responsibility

Pass a request along a chain of handlers. Each handler decides either to process the request or pass it along the chain

Behavioral
7

Command

Encapsulate a request as an object, allowing you to parameterize clients with different requests, queue them, and log them

Behavioral
8

Mediator

Define an object that encapsulates how a set of objects interact

Behavioral
9

Memento

Capture and externalize an object's internal state without violating encapsulation, allowing it to be restored later

Behavioral
10

State

Allow an object to alter its behavior when its internal state changes

Behavioral
11

ReAct

Combine reasoning and action: think through steps and execute tools to solve tasks.

AI Agent
12

Tool Use

Enable LLMs to call functions and external tools to expand their capabilities.

AI Agent
13

Reflection

Generate, critique, and refine outputs iteratively to improve quality.

AI Agent
14

Memory

Maintain context across interactions using short-term and long-term memory systems.

AI Agent
15

Guardrails

Validate inputs and outputs to ensure safety, quality, and compliance.

AI Agent
16

Feature Store

Centralize feature computation, storage, and serving so training and inference always use the exact same data.

AI System
17

Training Pipeline

Automated, reproducible workflows that ingest data, train models, evaluate them, and register successful runs.

AI System
18

Serving Pipeline

Deploy ML models behind a scalable, low-latency API that handles feature lookup, prediction, and response transformation.

AI System
19

Model Monitoring

Continuously track model performance, input distributions, and prediction drift to catch silent failures in production.

AI System
🔥
Stage 3

Go Deep

Complex patterns for large systems, experienced engineers, and senior interviews.

Ready to test your knowledge?

Take the pattern quiz and see how many you can identify.

Start Quiz →