News for hackers. Stuff that matters.
Re:Is “Investing in improving structure” better than “Paying... by BurningFrog on Sunday October 27, 2019 @03:08PM (#21371727)
In general I don't think tech debt should be communicated to the business people.

It's an internal part of engineering work, and doesn't impact users. You can think of this as "encapsulation" if you like.

Also what it sounds like to outsiders is "we're taking time off to fix things we didn't bother to do right in the first place". And that's not *100% wrong...

Re:Is “Investing in improving structure” better than “Paying... by massung on Sunday October 27, 2019 @04:04PM (#21372031)
> I don't think tech debt should be communicated to the business people.

This is wrong. Technical debt is almost always incurred because of the business requirements. They need to be made aware the debt is being incurred at that time so they are aware it will need to be paid down ASAP.

Example: a startup is asked by an investor for a particular feature to be implemented for a trade show a week from now. That feature - if done properly - would require a database schema change otherwise the queries will be abysmally slow. Luckily, for the trade show the amount of data being queried is small enough that it won't matter. But as soon as it starts getting used, whoa boy.

Management needs to be made aware that there is technical debt being incurred here. Yes, the deadline will be met and the show will go well. But there better be time on the schedule to do it right afterwards.

Re:Is “Investing in improving structure” better than “Paying... by pytester on Sunday October 27, 2019 @08:03PM (#21373321)
>This is wrong. Technical debt is almost always incurred because of the business requirements. They need to be made aware the debt is being incurred at that time so they are aware it will need to be paid down ASAP.

I absolutely loathe doing this - the costs of technical debt are too specific (e.g. 2 hours a week) while the benefits are too diffuse and too hard to measure. If you have a conversation with business people about it it feels like you're having to make a business case for buying pencils.

Re:Is “Investing in improving structure” better than “Paying... by WrtCdEvrydy on Sunday October 27, 2019 @09:03PM (#21373541)
"We can't afford it do right the first time, but we can sure afford to do it twice when it fails" - Me, a week ago.
Re:Is “Investing in improving structure” better than “Paying... by Thorrez on Sunday October 27, 2019 @09:20PM (#21373588)
> benefits are too diffuse and too hard to measure.

Wouldn't "the feature gets done in 1 day instead of 2 weeks" be a very specific benefit?

Re:Is “Investing in improving structure” better than “Paying... by pytester on Monday October 28, 2019 @02:28AM (#21374727)
It would be, but the most realistic, specifc claim you could typically make is that some hypothetical feature that probably hasn't even been dreamed up yet would get done in less time than it normally would.

It's a hard sell, and that's precisely why it doesn't get done.

Re:Is “Investing in improving structure” better than “Paying... by Thorrez on Monday October 28, 2019 @10:37PM (#21383839)
Maybe I'm misunderstanding. I think "the benefits [of technical debt]" are the reasons for taking on technical debt. When you take on technical debt it's for a specific feature that's needed, not for something that hasn't been dreamed up yet.
Re:Is “Investing in improving structure” better than “Paying... by BurningFrog on Sunday October 27, 2019 @07:18PM (#21373094)
Thanks for a concrete example to discuss.

In this case I'd tell the business that we can absolutely write a hacky version for the trade show, but if they want a fully performant version later, that's a separate story, and much of the work going in to the first story will have been wasted.

Maybe we don't even disagree on much there.

The scenario I had in mind was when you decide to rework/refactor some existing code because it's badly designed because of incompetent original design, changing requirements or whatever else.

To me that's just an ordinary Tuesday, all part of the work we do all the time, and nothing I need to communicate, any more than I need for when we take a lunch break.

Maybe this is the difference between thinking of the business as my "customer" rather than my "boss".

Re:Is “Investing in improving structure” better than “Paying... by tonyedgecombe on Monday October 28, 2019 @05:59AM (#21375581)
I'm not sure about that, most deadlines are arbitrary. There are exceptions but I wouldn't class a trade show as that. It doesn't come from business requirements, it comes from poor management.
Re:Is “Investing in improving structure” better than “Paying... by defined on Sunday October 27, 2019 @05:11PM (#21372435)
And somehow other priorities preempt “doing it right” and the debt stays unpaid for much longer than is healthy...
Re:Is “Investing in improving structure” better than “Paying... by tyingq on Sunday October 27, 2019 @03:11PM (#21371747)
They are paying for it, so I'm not clear on how you hide it. They'll figure it out, and you look disingenuous when they do.
Re:Is “Investing in improving structure” better than “Paying... by TeMPOraL on Sunday October 27, 2019 @04:07PM (#21372047)
I understand GP as saying that if business people know about technical debt, it means you're giving them too much details. Business people care about features being implemented and bugs being fixed; they don't (shouldn't) care if implementing a feature is 1/3 direct work on the feature, and 2/3 fixing the architecture to make the direct work on this and future features faster - but if you communicate this split to them, they'll start asking if you couldn't cut that 2/3 part out.
Re:Is “Investing in improving structure” better than “Paying... by kd5bjo on Monday October 28, 2019 @03:53AM (#21375039)
I mostly agree with this in theory, but there’s a tragedy of the commons problem when working on a development team. A developer who takes the quick-and-dirty route will appear more productive in the short term than one who tries to maintain long-term development velocity.

If they’re working on a shared codebase together, the latter developer will end up cleaning up the mess left by the former and getting less recognition from management. In all likelihood, this developer will either leave due to resentment, be laid off for underperformance, or stop doing the maintenance work. In any case, there’s no longer anyone seeing to the long-term development velocity and the team’s productivity will slowly grind to a halt.

Re:Is “Investing in improving structure” better than “Paying... by sjogress on Monday October 28, 2019 @05:45AM (#21375530)
I can think of a few ways of combatting this though.

1) Slack in the system, meaning there is time without explicitly defined tasks that have to be done.

Basecamp does something like this where they take 1-2 weeks off scheduled work after a 6-week cycle to let their employees fix things up [0].

2) A good definition-of-done plus a technical culture focused on quality.

My current workplace has a culture of valuing correctness and quality over velocity, it has been a nice change of pace from my previous workplace where velocity was valued over everything else, leading to lower velocity as our code became worse over time.

0: https://3.basecamp-help.com/article/35-the-six-week-cycle

Re:Is “Investing in improving structure” better than “Paying... by BurningFrog on Monday October 28, 2019 @12:01PM (#21378118)
Yeah, I've been on a team like that, and I can only recommend either (1) leaving for a functioning team, or (2) fix your team. And I don't know how to do (2).

I'm talking about how the development team as a whole should relate to other parts of the business.

Re:Is “Investing in improving structure” better than “Paying... by BurningFrog on Sunday October 27, 2019 @07:18PM (#21373098)
Thanks for explaining my point better than I would have :)
Re:Is “Investing in improving structure” better than “Paying... by andmarios on Sunday October 27, 2019 @05:00PM (#21372366)
But business people know all about debt because it's common for a business to operate on debt. They can relate. And, as the advice usually goes, it's better to first address your debt before going into saving and investing.