🧱 Software Design & Architecture · Architecture Evaluation Factors
Modularity
Dividing a system into smaller components with clear responsibilities.
Small modules are easier to understand and change than one giant component.
Separate modules handle Customer, Orders, Payments, and Notifications.
💡 Like a robot built from snap-together blocks — swap or fix one block without rebuilding the robot.
💡 Why it matters
A system split into small parts with clear jobs is easier to understand, test, change and reuse. One giant block means every change risks everything.
🛠️ How to achieve it
⚠️ Signs of trouble
- •One class or file does many unrelated things.
- •Changing one area forces changes in many others.
- •You can't understand a part without understanding the whole.
🎯 Quick check
Score: 0/2Three questions to test the idea.
1. Modularity means dividing a system into…
Answer: Smaller parts with clear, separate responsibilities
It's about clear responsibilities and boundaries, not simply more files.
2. High cohesion with low coupling is good because…
Answer: Each part is focused and parts don't tangle, so changes stay local
Focused, loosely-connected parts can change without breaking the rest.
