ArchitectureSample article
Decisions worth writing down
Short architecture notes that help the next person recover the reasoning behind the code.
Code tells you what a system does. It rarely tells you which alternatives were considered, what was uncertain, or why a reasonable-looking option was rejected.
Capture the pressure behind the choice
Record decisions when the reasoning would be expensive to reconstruct. Describe the constraint in ordinary language before describing the technology. A reader should understand the problem even if the library names have changed.
Keep the note small
A decision record can fit on one page. The useful parts are the context, the choice, the consequences and the point at which it should be reconsidered.
- What problem are we solving?
- Which alternatives were credible?
- What cost are we accepting?
- What evidence would change the decision?
Keep the history
When a decision changes, link the new note to the old one. An outdated choice can still contain useful reasoning about constraints that once mattered.
A note from the room.This is a placeholder article for testing the reading experience.
↑