Re:Technical Debt Doesn’t Exist
by magicalhippo on Friday August 28, 2020 @05:42AM
(#24303057)
A typical point where you find you have to repay your dept is precisely when you need to perform maintenance.
As a concrete example, a previous programmer at work when tasked with adding yet another file format to export would copy the entire code of one of the existing ones, make the necessary changes and ship it.
Instead he could have written it from scratch, recognized that "hey, I need to calculate the same sum as in this other exporter, let me refactor that into a separate function and call that" and so on. Then we wouldn't have two dozen pieces of code to check when doing maintenance.
Him not spending time to refactor created an additional burden that we now have to repay when performing maintenance, that's the technical dept.
As a concrete example, a previous programmer at work when tasked with adding yet another file format to export would copy the entire code of one of the existing ones, make the necessary changes and ship it.
Instead he could have written it from scratch, recognized that "hey, I need to calculate the same sum as in this other exporter, let me refactor that into a separate function and call that" and so on. Then we wouldn't have two dozen pieces of code to check when doing maintenance.
Him not spending time to refactor created an additional burden that we now have to repay when performing maintenance, that's the technical dept.