Skip to content

Software Design — learning path ​

From the first conceptual sketch to SOLID, GoF patterns and refactoring. Chapters follow the order a designer meets the ideas: what design is, how to model it, how to judge it, then the principles and patterns that keep it changeable.

Legend ​

BadgeMeaning
Must-knowasked in almost every interview; you meet it at work constantly
Importantfrequent; expected at senior level
Good to knowextra depth that sets you apart
WIP / Todoshown next to a chapter only while it is still being written

How to read this page. Groups are in reading order and each one builds on the previous; short on time, take the Must-know chapters of every group first. The last column says in one line what the chapter gives you. Every chapter ends with a Self-check: questions & answers block (open/close all, filter by level); all questions are collected in the Interview Q&A hub.

Chapters ​

30 chapters · 29 complete · 1 not written yet

Foundations ​

ChapterLevelWhat you learn
Software Architecture vs Software DesignMust-knowArchitecture and design are one continuous activity seen at different zoom levels: architecture fixes the few decisions that are expensive to reverse, design fills in everything below them…
The Design ProcessImportantDesign is a loop, not a staircase: find out what people need, decide what the pieces are and who does what (conceptual design), then decide how each piece is built (technical design)…
Quality Attributes, Functional & Non-Function…Must-knowa requirement says either what the system does (functional) or how well, how fast, how safely and how cheaply it does it (quality attributes, usually called non-functional requirements).
Object-Oriented ModelingMust-knowObject-oriented modeling turns a problem into objects that keep their own state, protect their own rules and talk only through requests.
UML in PracticeImportantUML is a standard picture language for software: 14 diagram types, half for structure (what exists) and half for behaviour (what happens over time).
Programming Paradigms TodoImportantto be written.

Design Quality ​

ChapterLevelWhat you learn
Clean Code PrinciplesMust-knowClean code is code a stranger can read, change and test without fear: intention-revealing names, small units that sit at one level of abstraction, functions whose result depends only on their arguments…
Design QualityMust-knowGood design is the art of keeping complexity low: few and weak dependencies between modules (low coupling), strong relationships inside each module (high cohesion)…
Composing Objects & the Law of DemeterImportantBuild behaviour by assembling small objects that hold each other (composition), and let each method talk only to its immediate friends (Law of Demeter).
Code Smells, Anti-Patterns & Refactoring (the…Must-knowA code smell is a quick-to-spot sign that the design may be wrong; a refactoring is a small, named, behaviour-preserving change that fixes it…
Low-Level DesignImportantLow-level design (LLD) decides which classes or functions exist, what each one is responsible for, how they relate, and what their public contracts look like, so that one component can be coded…
Testing Strategy & TDDMust-knowA testing strategy answers three questions: what to test at which level (unit, integration, end-to-end), what to replace with a test double and what to run for real, and how to keep the suite fast…

SOLID ​

ChapterLevelWhat you learn
SOLIDMust-knowSOLID is five design principles that together answer one question: when requirements change, how much of my code has to change with them?
Single Responsibility Principle (SRP)Must-knowSRP says a module should answer to one source of change: one person, team or business function.
Open–Closed Principle (OCP)Must-knowOCP says that for the kinds of change you expect, new behaviour should arrive as new code plugged into a stable abstraction, not as edits to code that already works.
Liskov Substitution Principle (LSP)ImportantLSP says an implementation may stand in for its abstraction only if no caller written against the abstraction can tell the difference: it is the fine print of every interface.
Interface Segregation Principle (ISP)ImportantISP says an interface should be shaped by what one kind of client needs, so no client pays for methods it never calls and no implementation has to fake methods it cannot honour.
Dependency Inversion Principle (DIP)Must-knowDIP says the code that holds your business policy should own the abstractions it needs, and the databases, frameworks and vendors should depend on those abstractions, not the other way round.

Design Patterns ​

ChapterLevelWhat you learn
Design PatternsMust-knowA design pattern is a named, documented solution to a problem that keeps coming back, written down with its trade-offs so a team can discuss it in one word.
Creational PatternsMust-knowCreational patterns decide who calls new, when, and which concrete class it gets.
Structural PatternsMust-knowThe seven GoF structural patterns are seven ways to put one object in front of, around, or beside another: to simplify (Facade), to translate (Adapter), to treat a tree as one thing (Composite), to guard…
Behavioral PatternsMust-knowBehavioral patterns answer "who does what, and who tells whom": how an algorithm is split into replaceable parts, how a request travels to the code that handles it…
Applying Patterns in Real SystemsImportantPatterns are answers to forces, not decorations.

Key Design Issues ​

ChapterLevelWhat you learn
Designing for ConcurrencyImportantConcurrency design is deciding which activities in a system may proceed independently, who owns each piece of state while they do, and how they hand work and results to each other without races…
Control Flow & Event Handling in DesignGood to knowEvery program answers one question: who decides what runs next?
Data Persistence in DesignImportantPersistence is a design problem before it is a database problem: decide which objects know about storage, who owns a transaction, how much of the object graph you load, and which service may touch which table.
Distribution of ComponentsImportantMoving a component to another process or machine does not just add a wire: it adds latency, partial failure, serialization, version skew and a second owner.
Error & Exception Handling and Fault Toleranc…Must-knowEvery failure is one of three things: a bug, an expected business outcome, or a failing dependency.
Interaction & PresentationImportantMVC, MVP, MVVM, Presentation Model and Flux are all answers to one question: where does the code that talks to the user live, and how does it stay separate from the rules of the business?
Security by DesignImportantSecurity is a quality attribute you design in, the way you design in latency or availability.

Built by Morteza Negahi