♻️ Software Design & Architecture · Architecture Evaluation Factors
Reusability
The ability to use the same component or logic in multiple places.
Build common functionality once when the same business behavior is genuinely shared.
One Address component is reused by registration, profile, and application pages.
💡 One good rubber stamp, used on every page — not redrawing the shape by hand each time.
💡 Why it matters
Building the same thing many times wastes effort and spreads bugs. A well-made reusable component is written and tested once, then used everywhere — consistent and cheaper to maintain.
🛠️ How to achieve it
⚠️ Signs of trouble
- •The same component is copy-pasted and then edited slightly in many places.
- •A bug has to be fixed in several near-identical copies.
- •Teams rebuild things that already exist.
🎯 Quick check
Score: 0/2Three questions to test the idea.
1. DRY stands for…
Answer: Don't Repeat Yourself
DRY means define each piece of knowledge once, in one place.
2. When is building a shared component the right call?
Answer: When the same real behavior is genuinely needed in several places
Reuse real, shared behavior — forcing it too early creates a tangled abstraction.
