Legacy-Systeme sind unbequem, aber oft wertvoll – sie treiben das Geschäft an. Die Entscheidung zum Refaktorieren, Ersetzen oder Abschalten muss von Kosten und Nutzen getrieben werden, nicht von Abneigung gegen alten Code. "Es ist alt und hässlich" ist kein Grund; "es kostet uns" ist einer.
Warum es wichtig ist
REFACTOR (improve in place) when:
- Core logic is sound; it's holding business value
- Problems are localized; you can improve incrementally
REPLACE (rewrite/migrate) when:
- It blocks important work and can't be incrementally fixed
- Maintenance cost > rebuild cost over a sensible horizon
- It's a growing security or reliability liability
RETIRE (remove entirely) when:
- Its value no longer justifies any maintenance cost
- Usage has dwindled; a simpler path exists
