Kolumne · Software Development
Technische Schulden erklären, ohne Fachchinesisch
Eine Metapher aus dem Jahr 1992 A metaphor from 1992
Ward Cunningham verglich 1992 schnell geschriebenen Code mit einem Kredit1: Man kommt schneller ans Ziel, muss aber später zurückzahlen3.
(In 1992, Ward Cunningham compared quickly written code to a loan: you reach the goal faster, but you have to pay it back later.)
Jede Minute, die ein Team mit nicht ganz passendem Code verbringt, zählt als Zins2 auf diese Schuld.
(Every minute a team spends on not-quite-right code counts as interest on that debt.)
Martin Fowler gibt ein einfaches Beispiel: Eine neue Funktion, die vier Tage dauern sollte, dauert wegen der unklaren Struktur sechs Tage.
Zinsen sichtbar machen Making the interest visible
Martin Fowler gibt ein einfaches Beispiel: Eine neue Funktion, die vier Tage dauern sollte, dauert wegen der unklaren Struktur sechs Tage.
(Martin Fowler gives a simple example: a new feature that should take four days takes six because of the unclear structure.)
(The two extra days are the interest; cleaning up the structure is the repayment.)
Mit diesem Bild verstehen auch Menschen ohne technischen Hintergrund3, warum ein Refactoring kein Luxus4 ist.
(With this picture, people without a technical background also understand why refactoring is not a luxury.)
Vier Arten von Schulden Four kinds of debt
Fowler fragt, ob ein Team die Schulden absichtlich1 oder versehentlich2 aufnimmt und ob es dabei umsichtig3 oder rücksichtslos4 handelt.
(Fowler asks whether a team takes on the debt deliberately or inadvertently, and whether it acts prudently or recklessly.)
Technische Schulden nach Martin Fowler
Technical debt according to Martin Fowler
absichtlich
deliberate
versehentlich
inadvertent
rücksichtslos
reckless
„Für Design haben wir keine Zeit.“
“We don’t have time for design.”
„Was ist eine Schichtenarchitektur?“
“What’s Layering?”
umsichtig
prudent
„Wir müssen jetzt liefern und tragen die Folgen.“
“We must ship now and deal with consequences.”
„Jetzt wissen wir, wie wir es hätten machen sollen.“
“Now we know how we should have done it.”
Umsichtige, absichtliche Schulden können sinnvoll sein, zum Beispiel vor einem festen Liefertermin5.
(Prudent, deliberate debt can make sense, for example before a fixed delivery date.)
Wichtig ist, dass das Team die Abkürzung6 dokumentiert und Zeit für die Tilgung einplant.
(What matters is that the team documents the shortcut and plans time for the repayment.)
Sources: Ward Cunningham, “The WyCash Portfolio Management System”, OOPSLA 1992 (c2.com/doc/oopsla92.html); Martin Fowler, “Technical Debt” and “Technical Debt Quadrant” (martinfowler.com/bliki). The English quotes in the diagram are Fowler’s; the German is our translation.
Randnotiz: Grammatik Grammar rule
Gründe und Folgen mit „weil“, „deshalb“ und „trotzdem“
(Reasons and consequences with “weil”, “deshalb” and “trotzdem”)
„Weil“ leitet einen Nebensatz ein, das Verb steht dann am Ende.
(“Weil” introduces a subordinate clause; the verb then goes at the end.)
„Deshalb“ und „trotzdem“ verbinden zwei Hauptsätze, und am Satzanfang folgt direkt das Verb.
(“Deshalb” and “trotzdem” connect two main clauses, and at the start of a sentence the verb follows directly.)
Beispiele
(Examples:)
„Wir brauchen zwei Tage für das Refactoring, weil die Struktur unklar ist.“
(“We need two days for the refactoring because the structure is unclear.”)
„Die Struktur ist unklar. Deshalb dauert jede neue Funktion länger.“
(“The structure is unclear. That’s why every new feature takes longer.”)
„Der Termin steht fest. Trotzdem planen wir Zeit für die Tilgung ein.“
(“The date is fixed. Even so, we plan time for the repayment.”)
Merke
(Note:)
Mit „weil“ und „deshalb“ wird aus einer technischen Bitte ein Argument, dem auch das Management folgen kann.
(With “weil” and “deshalb”, a technical request becomes an argument that management can follow too.)
Weiterlesen im Buch
German for IT Project Managers: Hybrid Projects, Status Reports and Steering Committees · Interaktiver Berufsroman
The same page as this article, a whole book long: German texts from your profession, the English after every sentence, the words and the grammar after every text.
