Sub topic 1
Why the reasoning matters as much as the decision
Prerequisites
This chapter assumes you have taken part in technical or project decisions and have written or read pull requests, design documents, or meeting notes. You should be comfortable reading a short Markdown file.
Why the reasoning matters
A decision tells people what the team will do. The reasoning tells them why, which lets them judge whether the decision still holds. Without the reasoning, a future engineer may reverse a sound choice because the original constraint is no longer visible. Writing the reasoning takes a few minutes. Reconstructing it later can take weeks.
Setting out the context and the problem
Start with the situation that forced a choice. State the problem in one or two sentences, and explain what made it urgent or hard. Keep facts separate from opinions.
For example: "The orders service must update orders and payments together. Two engineers know PostgreSQL, and launch is eight weeks away."
Naming the constraints and goals
Constraints are limits you cannot change, such as a deadline, a budget, or the skills on the team. Goals are what you want to achieve. List both. A constraint explains why some options were ruled out. A goal explains what the chosen option must deliver.
Showing the alternatives you considered
List each option you seriously considered, including the ones you rejected. For each, write one line that says why it was not chosen. Readers who see only the winner will ask whether you looked at other options. Showing the rejected options answers that question before it is asked.
| Option | Strength | Reason not chosen |
|---|---|---|
| PostgreSQL | Strong transactions, team knows it | Chosen |
| Document database | Flexible schema | Cross-record transactions are harder |
| Managed NoSQL store | Scales writes easily | No team experience, risky within eight weeks |
Exercise
Think of a recent decision you made. Which constraint ruled out the option that looked strongest?
Show answer
Name that constraint in one sentence. Then check whether it appears in your written reasoning. If it does not, add it.