News for hackers. Stuff that matters.
Re:Stop lying to yourself – you “fix it later” by lifeisstillgood on Sunday November 20, 2022 @04:26PM (#33685519)
i agree with the OP - you have immediately lost the linkage between the lines of code and the problem description - maybe you put a reference to the lines / modeule in the ticket but really, why bother.
Re:Stop lying to yourself – you “fix it later” by simplotek on Sunday November 20, 2022 @04:58PM (#33685863)
> You could do "TODO fix the foobar because flange see Ticket 1234"

No, you should create Ticket 1235 - fix foobar, add additional info such as rationale and the definition of done, and add Ticket 1234 as related/blocks.

Re:Stop lying to yourself – you “fix it later” by convolvatron on Sunday November 20, 2022 @05:17PM (#33686045)
how am I going to know there is such a ticket when I'm looking at the code?
Re:Stop lying to yourself – you “fix it later” by lifeisstillgood on Sunday November 20, 2022 @07:36PM (#33687229)
Xcellent point - and we need ways to sync the two but based in code. I am tempted to try and build something that uses module and line number and bags of the comment to build a unique reference for the ticket to point back to - but I wonder about code movement and have never done it
Re:Stop lying to yourself – you “fix it later” by convolvatron on Sunday November 20, 2022 @08:15PM (#33687511)
personally I think the right answer is to finally lose the idea of code-as-text and build structures with all kinds of optional metadata.
Re:Stop lying to yourself – you “fix it later” by wtetzner on Sunday November 20, 2022 @06:05PM (#33686498)
And that ticket will be forever ignored. On the other hand, if there’s a TODO in the code, someone might fix it the next time they’re editing that part of the code.
Re:Stop lying to yourself – you “fix it later” by monkpit on Sunday November 20, 2022 @06:08PM (#33686517)
Your team should be grooming and prioritizing the backlog. If the tech debt exists but the business doesn’t value working on it, then yes it won’t get worked. But it also wouldn’t ever get done as some stray //TODO either.
Re:Stop lying to yourself – you “fix it later” by lifeisstillgood on Sunday November 20, 2022 @07:03PM (#33686982)
Then don't make it "stray" - parse the code for todos and other lintable items - and yes some grooming is needed - but don't make the ticketing system drive the development- that's the tail wagging the dog, or looking at the receipt at the restaurant and thinking that's what caused the chef to cook the meal.
Re:Stop lying to yourself – you “fix it later” by sdiupIGPWEfh on Monday November 21, 2022 @07:50AM (#33691947)
Unless you're in a Scrum team and "The Product Owner is responsible for the Product Backlog, including its content, availability, and ordering." is taken to mean that the PO has the final say on what's prioritized. If your PO has a project manager title, as most do, and they see their career advancement is tied to shipping features on or ahead of schedule, then indeed, that ticket will be forever ignored.
Re:Stop lying to yourself – you “fix it later” by lifeisstillgood on Sunday November 20, 2022 @06:59PM (#33686944)
Thank you .. exactly

A team that spends all its time grooming the backlog is not spending time on reading code, logs inputs, output, data etc.

We have fooled ourselves into thinking ticketing systems represent living documents but they don't - a high functioning team can have "hey I will fix the foobar by adding a cromulent adjutant" in a office (!) call or even an email.

A low functioning team knows no one will get round to fixing it

Re:Stop lying to yourself – you “fix it later” by monkpit on Sunday November 20, 2022 @06:06PM (#33686505)
You’re absolutely fooling yourself - a ticket is a unit of work. Trying to hide tech debt by keeping it out of the project management system is not beneficial.
Re:Stop lying to yourself – you “fix it later” by lifeisstillgood on Sunday November 20, 2022 @06:54PM (#33686890)
The code base is the project management system - the dialogue between developers is the way code is developed - and the project management system is a pale copy of the real system used to keep non-literate people happy and feel they have some input.

Progress is measured by working software not closed tickets.

Re:Stop lying to yourself – you “fix it later” by sdiupIGPWEfh on Monday November 21, 2022 @07:42AM (#33691883)
No one's trying to hide anything. The target users of project management systems, product owners and anyone with with a project manager title, typically neither care about nor understand the value of rework. In their view, the dev teams should be creating maximum value at all times, which they understand as either adding features or putting out fires. Rework tickets do not get prioritized until they're identified as the cause of lost value.

The inevitable question is "well why wasn't it written correctly to begin with?" even if the reason, as is typical, was pressure from product managers in the first place.