🎛️ Software Design & Architecture · Architecture Evaluation Factors
Configurability
The ability to change appropriate business behavior without code changes.
Frequently changing values should be configuration when safe and sensible.
An application fee is stored in configuration rather than repeated as a hard-coded value in five classes.
💡 Like a thermostat dial — change the setting, not rewire the heater.
💡 Why it matters
Some values change often — fees, limits, messages. Putting them in configuration lets the business change behavior safely without a code change and a redeploy.
🛠️ How to achieve it
⚠️ Signs of trouble
- •The same number is hard-coded in several classes.
- •A simple policy change needs a developer and a redeploy.
- •Config is scattered and inconsistent.
🎯 Quick check
Score: 0/2Three questions to test the idea.
1. An application fee that changes often should be…
Answer: Stored in configuration, read in one place
Config lets the business change the fee without a code change and redeploy.
2. A risk of over-configurability is…
Answer: The system becomes hard to understand and test
Too many switches make behavior hard to predict and verify.
