Alle Beiträge
Praxis5 Min. Lesezeit

Schreiben Sie die Architektur auf, bevor Sie den Code schreiben

Eine Seite Prosa kostet einen Nachmittag und klärt die Diskussionen, die sonst drei Wochen später in einem Pull Request geklärt werden.

Platzhalter. Dieser Beitrag wird als Layout-Gerüst mit dem Beitragsbereich ausgeliefert und ist von Suche und Website-Assistent ausgenommen, bis er einen echten Text trägt.

Dieser Beitrag erscheint auf Englisch. Der Rest der Seite ist übersetzt, die Beiträge sind es nicht, weil ein maschinell übersetztes fachliches Argument schlechter ist als eines in der Sprache, in der es geschrieben wurde.

The argument against writing the design down is always speed. It is a bad argument, because the alternative is not "start sooner"; it is "discover the disagreement later, in code, when reversing it is expensive".

What the document is for

Not the diagram. The diagram is the easy half and the half that gets shown. The useful part is the paragraph under it explaining which parts genuinely need a model and which parts are better off deterministic, because that is the decision the whole system is downstream of.

What it is not for

It is not a specification to be followed to the letter, and treating it as one produces the padding that a technical reader notices immediately. It is a record of what was decided and why, so the next person, who is often you, can tell the difference between a considered choice and an accident.


This post is a placeholder shipped with the writing section. Replace the body with the real piece; the frontmatter above is the only thing the site reads.