Skip to content

Learning roadmap and study paths

Difficulty: Beginner

Key concepts

  • learning path
  • study plan
  • difficulty labels
  • prerequisites
  • interview preparation
  • How the sections of the site depend on each other.
  • What the difficulty labels and prerequisite lists on each lesson mean.
  • Three study paths, and how to adapt them to what you already know.

Each section builds on earlier ones, but not every section needs every earlier one. The map below shows the main dependencies, so you can see what you can safely skip and what you cannot.

Main dependencies between sections (an arrow from A to B means B builds on A)
Text description of the diagram

An arrow from A to B means section B builds on section A. Orientation leads to C++ foundations. C++ foundations leads to Modeling, and Modeling to Requirements. Requirements leads to Design principles. Design principles leads to three sections: Design patterns, Architecture, and Advanced design. Architecture also builds on Design patterns, and Advanced design also builds on C++ foundations. Advanced design leads to Testing and evolution. Case studies build on Architecture and on Testing and evolution, and so indirectly on most earlier sections. Practice builds on Design patterns; its quizzes cover all sections, so take each quiz after the section it covers.

Diagram source (Mermaid)
flowchart LR
ORI[Orientation] --> CPP[C++ foundations]
CPP --> MOD[Modeling]
MOD --> REQ[Requirements]
REQ --> PRN[Design principles]
PRN --> PAT[Design patterns]
PRN --> ARC[Architecture]
PAT --> ARC
CPP --> ADV[Advanced design]
PRN --> ADV
ADV --> TST[Testing and evolution]
ARC --> CS[Case studies]
TST --> CS
PAT --> PRC[Practice]

Two dependencies matter most:

  • C++ foundations before anything with code. Every later example assumes you can read ownership from a function signature: whether a parameter is copied, borrowed, or handed over for good. If that is new, do not skip the C++ section.
  • Principles before patterns. A pattern is easiest to judge once you know which principle it serves and what it costs. Reading patterns first tends to produce designs that use patterns for their own sake.

Every lesson’s header shows a difficulty label and a prerequisite list.

  • Beginner: needs only Orientation and earlier beginner lessons.
  • Intermediate: combines several ideas and assumes the C++ foundations.
  • Advanced: subtle ownership, concurrency, generic programming, binary compatibility, or trade-offs across several components.

The label also appears as filled circles (●○○, ●●○, ●●●) next to the text. Prerequisites are the lessons you should have read first. If a lesson uses a term you do not know, its prerequisites are the first place to look, then the glossary.

A label describes the lesson, not you. Reading an advanced lesson early is fine if you have the prerequisites; skipping a beginner lesson is fine if you can do its exercise without help.

For readers who program in another language (for example Java, Python, or C#) and want to design in C++.

  1. Orientation, all pages.
  2. C++ foundations, all pages in order. Spend the most time on these four, because nearly every later design decision depends on them: Constructors, destructors, and object lifetime; References, pointers, and explicit ownership; RAII and resource management; and Smart pointers: unique_ptr, shared_ptr, weak_ptr.
  3. Modeling, all pages.
  4. Continue with Requirements and Design principles in order.
  5. Design patterns: start with How to study design patterns, then Strategy, Observer, State, and Command, then the rest as needed.
  6. Case studies: start with How to approach a case study, then Connect Four, then Parking lot or Library management.

Path 2: comfortable with C++, new to design

Section titled “Path 2: comfortable with C++, new to design”

For readers who write C++ but have not designed programs with many classes, or whose designs become hard to change.

  1. Orientation, all pages.
  2. C++ foundations: skim the headings and do each page’s exercise. Read a page fully only if you cannot do its exercise. Do read Inheritance, virtual functions, and interfaces and Composition versus inheritance, because they are about design as much as language.
  3. Modeling and Requirements, all pages, in order.
  4. Design principles, all pages, including The cost of unnecessary abstraction.
  5. Design patterns and Architecture in order.
  6. Testing and evolution, then the case studies.

For readers preparing for low-level design (object-oriented design) interviews. These interviews usually test how you reason from a vague prompt to a clear design, more than whether you know a particular pattern.

  1. Orientation, all pages, especially What low-level design is (and is not), which separates low-level design from system design interviews, and The delivery framework, the five-step order to follow in the interview itself.
  2. Requirements, all pages. Asking clarification questions and stating assumptions is a large part of what interviewers look for.
  3. Modeling: Objects, responsibilities, and collaborations; Entities, value objects, and services; From domain concepts to code; Finding classes, data members, and member functions; Designing member functions in C++; and the three diagram pages.
  4. Design principles: the first eight pages at least.
  5. Design patterns: Strategy, State, Observer, Factory Method, Decorator, and Pattern or a simple function, value type, or standard facility?
  6. Case studies: How to approach a case study, then as many studies as you have time for. Each one follows the delivery framework and says what an interviewer expects at junior, mid, and senior level.
  7. Practice: the quizzes, the walkthroughs, and the Design-readiness checklist.

If your C++ is not fluent, add References, pointers, and explicit ownership and Smart pointers before the case studies; interviewers often ask who owns what.

There is no exercise on this page: choosing a path is the exercise. Use this checklist.

  • I can explain what happens to a local object when its function returns. If not, take Path 1.
  • I can read a C++ function signature and say who owns each argument afterwards. If not, take Path 1, or Path 2 with the ownership lessons read in full.
  • I have designed and later changed a program with more than a handful of classes. If not, Path 2 gives the most benefit.
  • I have a design interview coming up. Take Path 3, adding the C++ lessons listed in it if needed.

You can switch paths at any time. The “Mark as read” button at the top of each lesson and the My progress page help you keep track; both are stored only in your browser.

  • The sections form a dependency map: C++ foundations underpin all code, and principles come before patterns.
  • Difficulty labels describe lessons; prerequisites say what to read first.
  • Path 1 is for readers new to C++, Path 2 for C++ programmers new to design, and Path 3 for interview preparation.