DEV Community

Discussion on: All Code Is Technical Debt

Collapse
 
pbeekums profile image
Beekey Cheung

Conceptually yes. Practically no. You start at a company and you see code that is making things harder than it should be. Do you try to differentiate between the two or do you just treat it as technical debt?

The point I'm making is: a developer writes some code. They learn to make that code better later on, but don't have time to rewrite it. If they went back to that code it would start to look painful because they know how to make it better. By default now they have technical debt because if they left it alone and tried to build on top of it, it would be off of a technical solution they know to be inferior.

Collapse
 
loicniragire profile image
Loicniragire

Typically code reviews eliminate most of these technical debt you described. I tend to think of technical debt as a "team debt" due to specific constraints such as time or resource.

Collapse
 
loicniragire profile image
Loicniragire

Thanks for expending on that.