1561
technical debt (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] IcyToes@sh.itjust.works 131 points 3 days ago* (last edited 3 days ago)

This why any good engineer would bake it into their estimates when working around the area. I think Martin Fowler covers this in Refactoring. Eiher that or it was Kent Beck in TDD. Both books complement each other really well.

A good civil engineer doesn't ask a Project Manager if they can add in structural supports. A good software engineer shouldn't ask to build things right.

"Before we build x, we need to adapt the foundations by resolving x problem. If we don't get this right, it'll increase the chances of bugs surfacing in production and would make our team look like a joke."

[-] tiramichu@sh.itjust.works 67 points 3 days ago* (last edited 3 days ago)

Bad PO: "So it will only increase the chance of bugs if we don't do it? There won't necessarily be any. So we can skip it and just put the feature in."

I hope you have a good PO who is on the same page as you, but to a bad PO, it still sounds optional.

A civil engineer doesn't say "If we don't put supports there's a chance the ceiling will fall in and people may die," because history has shown there are plenty of unscrupulous project managers who are quite willing to take construction risks, even with people's lives. As a result of this there are now plenty of laws in construction, and a civil engineer has a convenient fallback of saying "If we don't put supports it won't pass inspection, and we won't get paid."

Everyone wants to get paid.

In software we don't have many laws we can fall back on to justify our work, but we can still treat our tech debt and refactoring as if it's equally mandatory.

"To add feature x, we need to resolve problem y. The feature can't be added until we've completed this prerequisite."

[-] WanderingThoughts@europe.pub 27 points 3 days ago

My current boss: so I sold this at least 10% below budget and we have to make it work.

[-] flambonkscious@sh.itjust.works 22 points 3 days ago
[-] WanderingThoughts@europe.pub 15 points 3 days ago

Reality is already fucking him sideways but he keeps escaping reality. He's like a financial Houdini.

[-] IcyToes@sh.itjust.works 2 points 2 days ago

You're trusting a PO to decide on how you build? They ain't coders. They decide on value, you estimate and build and they prioritise based on the information you provide. POs aren't the boss of devs. That's usually engineering managers. You are both specialists in your field. You don't lecture them on value and how pointless a feature is, you size it, and using velocity they can anticipate how much will likely be delivered in next sprint. If they really object, "if you feel you can build it in 1 day, go ahead, ill give you access. I have no idea how that could be done"

PO wouldn't like it during live incident when shit goes wrong that you suggest "I did highlight the risk of this occurring and proposed mitigation steps but was overruled".

[-] bitjunkie@lemmy.world 17 points 2 days ago

Counterpoint: tHe ShArEhOlDeRs SaY jUsT sHiP iT

[-] captainlezbian@lemmy.world 11 points 2 days ago

Yeah ultimately CivEs get to withhold a signature and if they don't sign it's illegal to build. Software doesn't need a PE

[-] Arcka@midwest.social 1 points 1 day ago

Is it that universal though? I know it was 40 years ago now, but when management overrode engineers to sign off on the disastrous launch of the Space Shuttle Challenger, I don't think they faced any legal consequences.

[-] Eranziel@lemmy.world 1 points 1 day ago

I've always been uncomfortable, honestly, with calling software developers "engineers". Partly that's because it's actually illegal to call a non-PEng role an "engineer" in some jurisdictions (most of Canada), but I think this comment is an excellent point of distinction to make between PEng and other roles.

Legal responsibility along with regulatory requirements. There's a reason everyone* trusts elevators and airplanes but shouldn't trust most software.

[-] IcyToes@sh.itjust.works 2 points 2 days ago

I don't know those guys so they can say what they want. We don't just ship. We code, review, test and only then deploy. I will build this the only way I can see and it'll take 3 days. Want me to start this?

[-] JcbAzPx@lemmy.world 0 points 1 day ago

Too late. They already outsourced it to someone who promised to get it done in one day for half the price.

Of course, it will take six months to fix all the problems it causes, but that is next quarter's problem.

[-] IcyToes@sh.itjust.works 1 points 1 day ago

Lol, who outsources 1 piece of work like that. Never seen it done. Onboarding and exposure of code to outside world are big risks.

[-] Diplomjodler3@lemmy.world 36 points 3 days ago

Just build and deploy it! We have the shareholders to think of!

[-] InternetCitizen2@lemmy.world 23 points 3 days ago

This person has high level management energy

[-] Diplomjodler3@lemmy.world 7 points 3 days ago

Me? No. But I've met plenty of those types.

[-] Michal@programming.dev 15 points 3 days ago

"Are you willing to own the risk? If so, what will it look like? Can you budget additional time for addressing these bugs, and draft contingency plans?"

[-] Bazoogle@lemmy.world 12 points 2 days ago

"You're overthinking it" - real response from my management

[-] Arcka@midwest.social 2 points 1 day ago

You're not alone

[-] IcyToes@sh.itjust.works 2 points 2 days ago

"True. It'll be perfectly fine, and because of that, you won't need me on call when it all goes dramatically wrong. If you need access to the repo, I'll add you in though. Good luck."

Or, if you've worked together a while "like I overthought it when we worked on x, and y went wrong, and I called it before it happened. Turns out I'm quite good at seeing car crashes in advance."

[-] Diplomjodler3@lemmy.world 11 points 3 days ago* (last edited 3 days ago)

*Sticks fingers in ears* Can't hear you!

[-] IcyToes@sh.itjust.works 6 points 3 days ago

"I only know 1 (credible) way to build it. I'll take x days. I'll go right ahead with that."

[-] Diplomjodler3@lemmy.world 8 points 3 days ago

We need it yesterday! Just get it done!

[-] IcyToes@sh.itjust.works 4 points 2 days ago* (last edited 2 days ago)

"Why are we only learning about this now? How long has this requirement been known? I think we need to look into the process that work comes into the team otherwise, if we don't learn, we are going to take the website down and cost the company thousands/millions. It's worth working with the business to get a batter understanding of upcoming requirements so we know what's going to be needed in a months time". There is a reason retros exist. Oh, and you have to be good at teasing out real deadlines vs arbitrary deadlines made up with no justifiable reason.

"You ask me how long it'll take, and it's 3 days. You probably need to manage expectations on this. Maybe let them know the risks of x, y and z and why it will take this long".

[-] jjjalljs@ttrpg.network 2 points 1 day ago

I feel like every retro I've attended has been a farce.

"What went bad? We said doing it this way would be harder and more risk prone. Management insisted we do it that way, and it took longer than and caused a site outage."

"What should we do differently?'

"Listen to the team next time"

"That won't happen"

[-] Auth@lemmy.world 1 points 2 days ago

Thats a scheduling issue on your end. I've given the time estimate my team needs. You can adjust expectations and shift around my allocated time but it will take x hours no matter what.

There is no putting up with half of these complaints. They just arent real things that occur in a workplace.

[-] chiliedogg@lemmy.world 29 points 3 days ago

The big difference is a civil/structural engineer has to individually certify a plan sets and take legal responsibility for it. The project manager can't override them.

They can fire them and hire another engineer, but even if they found someone to stamp bad plans for a fee, the original engineer could report the new engineer and have their credentials yanked.

We don't have that in software engineering. And outside of critical software we don't need it. When the audio fucks up in Teams and you have to leave and re-enter the meeting, people don't die.

[-] definitemaybe@lemmy.ca 22 points 3 days ago

Fuck Teams. The buggiest, most crash prone mess I've even been forced to use. They keep bolting on new, unnecessary "features" that only selectively work on some of their "supported" platforms.

[-] Dojan@pawb.social 2 points 2 days ago

Changed my AD password today. Teams noticed, as it always does, and refused to load the login page in the window that popped up after it signed me out. Too bad most everyone is on vacation because on any ordinary day it would've been quite welcome.

[-] ChickenLadyLovesLife@lemmy.world 15 points 3 days ago

We don’t have that in software engineering. And outside of critical software we don’t need it. When the audio fucks up in Teams and you have to leave and re-enter the meeting, people don’t die.

I had a co-worker who was writing remote control software for a baseball-throwing machine. Not exactly "critical software" but he ended up firing a 125 mph knuckleball a foot above a 10-year-old kid's head.

[-] TheOakTree@lemmy.zip 6 points 3 days ago

But what if the audio fucking up in Teams ends up costing a big man the wealth he's entitled to?

[-] Sylvartas@lemmy.dbzer0.com 14 points 3 days ago

The difference there is that our project manager guy is afraid they're gonna go to prison if they don't let you add those supports and something goes wrong. But for the software dude, building things properly is unfortunately mostly a concern for you and the other software engineers, and mr project manager doesn't have that much of an incentive to let you do that

[-] IcyToes@sh.itjust.works 6 points 3 days ago

I find project managers don't want to be responsible for building shit that is flaky on prod. Either the consultancy reputation or team reputation becomes mud and their promotion opportunities vanish.

[-] Sylvartas@lemmy.dbzer0.com 3 points 2 days ago* (last edited 2 days ago)

Yes that is probably the case for project managers that are actually held accountable

[-] IcyToes@sh.itjust.works 2 points 3 days ago

Then if you trust your team, have dev meetings and don't give alternatives. Make it clear there is one way to do it and it'll take x days long.

[-] mrgoosmoos@lemmy.ca 4 points 2 days ago

yeah but when I do that, people get mad at me and ask "why number so big", then when I explain they say "ok but what if there aren't any issues" and then they make schedules based on that clearly incorrect number

[-] IcyToes@sh.itjust.works 5 points 2 days ago

Mad? In a professional workplace?

"If you can give me that issue free codebase, I'm happy to do that, but failing that, it takes 3 days to add that feature that is akin to the leaning tower of Piza taped together with duct tape. There is only so much tech debt you can pile on until you are in code hell, and unfortunately, we are."

If they do some weird ass schedule "well, you can write down that if you wish, feel free to write down that my other car is a Bugatti, if we are just theorising on a perfect unicorn world".

[-] NaibofTabr@infosec.pub 9 points 3 days ago

Sure, then you get outbid by another contractor who is willing to cut corners.

[-] IcyToes@sh.itjust.works 7 points 3 days ago

That's why you get jobs at the consultancy that has to clean up those messes after companies are burnt enough. Most companies that get burnt will feel the reputation damage and go for reputable ones with integrity who respect push back.

Usually you're not selling work on a feature by feature basis. It's usually on huge projects or multi year deals.

[-] fx242@lemmy.world 6 points 3 days ago

Companies don't remember or learn. People come and go and after a software lifecycle everything is forgotten as the top management gets refreshed.

[-] arendjr@programming.dev 5 points 3 days ago

That’s why you should go work at big corporate enterprises. Then you have both job security as well as the ability to spend as much time as necessary on getting things right. And you might even learn to say no to middle management.

load more comments (1 replies)
[-] Thedogdrinkscoffee@lemmy.ca 8 points 3 days ago* (last edited 3 days ago)

A good project manager understands technical debt.

Edit: moderately good

[-] galoisghost@aussie.zone 8 points 3 days ago

and the response will invariably be: “Is there a way we can just ship feature x now and fix up the other stuff after?”

[-] Rikj000@discuss.tchncs.de 11 points 3 days ago

Just increase your time estimate,
calculate in the time needed to refactor,
but don't tell them you're gonna refactor.

Works out most of the time.
Only when they ask why the estimate is so long, then you explain your reasoning behind it, and then they might reply with your statement and block your refactoring idea.

However, getting time to refactor most of the time, is aleady way better then never being allowed to do so.

[-] galoisghost@aussie.zone 4 points 3 days ago

I have more than 20 years experience. I’ve never once not gotten the “can we do it without refactoring?” question. Bad managers? Not necessarily, the pressure always comes from above. Short term thinking always wins out in the for profit private sector.

[-] fx242@lemmy.world 2 points 3 days ago

In my case those almost never pass. Maybe you're the only one exclusively working on that system...? When you're one of a number of contractors competing to do something in software that cannot be regulated, you're basically screwed.

[-] IcyToes@sh.itjust.works 2 points 3 days ago

Then you don't give another option and only give estimates for doing it correctly.

If you're saying "I could hack it in for you this way", you're a cowboy dev.

load more comments (1 replies)
[-] IcyToes@sh.itjust.works 2 points 3 days ago

How can they block? Usually they cannot code so cannot do it themselves. Working in a place that micromanages you this badly must by soul destroying and degrading. Job sites are a good option.

[-] Rikj000@discuss.tchncs.de 2 points 2 days ago

By not accepting your time estimate,
requesting your reasoning why it takes that long, you explaining you calculated time in for refactoring, then rejecting your idea and granting you only time to implement the new thing, without granting time for refactoring.

And dw, my project manager is a pretty chill friend and fellow senior developer, who is reasonable and helps me with calculating in time for refactoring whenever possible/nessecary.

It's only higher up, CEOs/management, who seek to cut corners, with rocks for brains, who don't see that in the long run such practices are bad for business.

Which sadly is the case for most IT businesses. But at least in my workplace the project manager is not a rat & on the side of the developers.

[-] IcyToes@sh.itjust.works 2 points 3 days ago

Depends where you work.

If you're good and they respect you , you'll get away with "no" or, "I'll build it, but if it goes wrong, I'm not fixing this evening and weekends". Safest option is "in all honesty, I cannot see another credible option, no" and if you're fed up of the follow up, drop the word credible.

this post was submitted on 29 Dec 2025
1561 points (99.4% liked)

Programmer Humor

28137 readers
882 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS