News for hackers. Stuff that matters.
Re:A Field Study on Technical Debt by philbo on Tuesday July 28, 2015 @06:39PM (#9965040)
> I don't classify these as technical debt because

Apologies if this is too meta, but that is the most interesting part of your comment for me. It conceals a massive assumption which all devs make, resulting in very different conclusions.

What IS technical debt?

My own preference for the answer is Uncle Bob's description, which is this: technical debt is any production code that does not have (good) tests.

But regardless, any attempts to address technical debt must necessarily begin with a common understanding of what technical debt actually is.

I've rarely seen teams agree that understanding and I think that contributes to their problems.

Re:A Field Study on Technical Debt by dragonwriter on Tuesday July 28, 2015 @07:15PM (#9965178)
> What IS technical debt?

Any feature of the code or tech stack that increases maintenance/operations cost compared to alternatives.

> My own preference for the answer is Uncle Bob's description, which is this: technical debt is any production code that does not have (good) tests.

That's certainly an example of technical debt.

Re:A Field Study on Technical Debt by shoo on Tuesday July 28, 2015 @10:06PM (#9965842)
> > My own preference for the answer is Uncle Bob's description, which is this: technical debt is any production code that does not have (good) tests.

> That's certainly an example of technical debt.

Agreed, it is not the only example, but perhaps it is a good one, as that is a particularly important form of debt that makes the code harder to safely change. I.e. it is a form of technical debt that makes it more expensive to pay off other kinds of technical debt.

Curiously, Michael Feathers has a similar definition of legacy code [1]:

> To me, legacy code is simply code without tests.

[1] http://www.amazon.com/dp/0131177052

Re:A Field Study on Technical Debt by dragonwriter on Wednesday July 29, 2015 @10:07AM (#9968690)
I think "code without tests" is a fine example of technical debt or legacy code, but using it as the definition of either disregards the importance of everything other than tests that goes into making systems maintainable.

Tests are necessary but not sufficient. (Particularly, tests embody