4 ms·
I disagree on this. The right way to think about it is that nearly every line of code you write is almost certainly tech debt, even more so earlier on in a proj
by vlovich123 5y ago
I disagree on this. The right way to think about it is that nearly every line of code you write is almost certainly tech debt, even more so earlier on in a project where you’re just exploring the problem domain at the same time as you’re building the solution. Indeed, when I’ve looked at histories, once a developer stops being active, their name disappears from the git history relatively quickly (that’s not a perfect estimate, but it’s the best heuristic I could think of. equivalent to LOC - bad in the wrong hands, good as a general directional rule of thumb)
Also people think of tech debt as a loan which is a fine analogy but it’s important to understand it doesn’t map perfectly. Some have a high interest which means your current path is just adding this code debt to more pieces in your codebase (eg a bad convention you know you need to address). Other debt is more sporadic but doesn’t really grow (eg you have to remember to do weird thing X every time you do a Y). It may manifest as a parasitic effect on your velocity (more manual processes and/or more bugs). Additionally, unlike an actual loan balance sheet, there’s no way to quantify any of this. So agreeing on tech debt can even be hard (what one person sees as tech debt another might see as at least having consistency with the rest of the code around it). If you can’t measure then you’re all talking about an amorphous concept no one really agrees on 100% and basically paying down things that everyone agrees on as debt OR getting lucky and finding secondary quantifiable measurements that correlate with what you’re arguing for as debt.