
Dealing with Technological Debt: The Debt Book
- A project must be finished quickly, otherwise a much worse evil will occur
- It is not yet clear whether the code will even be needed or used
- The code is not yet used in production, but serves only to gather feedback (e.g., whether the design is correct)
- The code will only be needed in production later, but must first fill a gap (e.g., for testing other modules)
As you can see in the graphic, technological debt always comes with costs: At some point, the saved programming effort must be made up (repayment), and transitional solutions must be removed (interest).
The following problems can arise if technical debt is not repaid:
- Security issues only emerge after the software has been in operation for years
- The customer discovers unimplemented functionality
- The software is built in such a way that even new modules are based on the transitional solution: Chaos
- Describe and document omitted security checks as comments in the code
- Write a README and document all debts
- Mark shortened implementations as STUBS in the UML