Top-down — start with high-level, break down. Bottom-up — start with components, build up.
Top-Down:
Top-Down:
E-Commerce System
├── User Module
│ ├── Authentication
│ └── Profile
├── Order Module
└── Payment Module
Bottom-Up:
Bottom-Up:
[Auth Lib] + [Payment Lib] + [Order Lib]
→ Combined into E-Commerce System
Key differences: