Modularity

Problem

A million-line application has everything connected to everything. Changing invoice formatting unexpectedly breaks authentication. The system has no meaningful boundaries.

Solution — Modules

Group related responsibilities behind explicit boundaries. Orders Payments Identity Reporting
Core idea: modularity limits how much of a system must be understood or changed together.