4 ms·
Curious why you would track tech debt separately from other things that drive code changes...new work, defects, etc. Is this because it allows the devs more co
by tyingq 10y ago
Curious why you would track tech debt separately from other things that drive code changes...new work, defects, etc.
Is this because it allows the devs more control over priority...like putting it in the work queue might result in outsiders deciding priority?
- rdiddly 10y agoCan't speak for the author, but to me "technical debt" is needed fixes that don't quite fit in a bug report because they don't fix any bug, and they don't deserve a feature request because they don't add features. Therefore your taskmaster/overlord/scrum-master has no place to put them and in fact you'll have trouble convincing anyone, especially non-coders, that it needs to be done at all. So, track it in the code, since devs are the target audience and since "in the code" is where you'll be the next time you find yourself having to deal with "that kludge" again.
- Terr_ 10y agoThere are also some organizations where the ticket backlog management... Well, old bug reports are sometimes deleted because "anything before this date probably is obsolete." That's why sometimes the code is a better spot to leave a hint for the next poor sap -- or yourself -- who stumbles across the thing again.
- wruza 10y agoYou don't want to create 15 detailed issues each time you refactor 5-15 hour old project or feature branch. Merging these into trunk/master is obviously less meaningful. // FIXME bad wording? Todos (and fixme, xxx) are very useful as review or editing anchors.
- tyingq 10y agoThat makes sense...It was the tie to "tech debt" that made it sound long lived.
- wruza 10y agoIt really depends. My usual routine for brand new projects is to init RCS/tracking only once something meaningful emerges, and that time may vary. For "research" projects I simply don't do that, because initial refactoring history has no value and project is copy-and-throwaway anyway. Marker comments may be the only tracking method there. Once code is moved into real workdir, all todos are subject to regular issue tracking.
- Silhouette 10y agoI agree. For me, TODO-style comments are very useful for stuff I'm currently working on, as a short term aid. Usually I wouldn't be committing them, except for things like short-lived commits on a working branch that will be rebased out later. For example, if I'm adding a substantial new feature and it will affect the code in a few different places, I'll often go through first and leave easily searchable markers at the exact locations where I expect to make changes. Then I can do a quick comparison between where I'd expect to need changes given the design and where I've found to make them to ensure they match up before I start changing anything, and then I can move quickly through all of the required changes without losing focus.
- webignition 10y agoAt an organisation I recently worked for we did both. Technical debt tickets were created in the issue tracker. The ticket offers plenty of space to detail the technical reasons for implementing potentially suboptimal code in the first place (a justification for the introduction of technical debt), a general outline of the approach to resolving the debt and to list out business justifications for resolving the debt. A TODO comment referencing the ticket was added to the code. This reduced comment bloat and allowed a developer to easily find the relevant source from a ticket and vice versa. Technical debt issues were added to each sprint/development cycle by product managers with developer input during planning sessions. This process also had the benefit of letting developers fill in small amounts of possible development downtime. If you know you have to leave the office in 30 mins (a dentist appointment for example that you can't miss), you may be uninclined to start work on a large feature. Picking up almost any small tech debt ticket turns that time into something more productive than nothing.
- jacques_chester 10y agoWhere I work, they fall under the heading of "chores", for which the usual definition given is "something that will improve future velocity". Engineering owns these and gets to prioritise them as necessary. It's usually done with an eye to the current backlog of stories and bugs that product has prioritised. Sometimes chores get done opportunistically. You have a time gap, you grab a short chore and do it. Or you might spin one out of a story as a kind of marker of known tech debt. Sometimes engineering sees a heavy piece of tech debt that is a millstone and just goes ahead with it. Usually this ties up a track of work that becomes unavailable for product work, sometimes for weeks.
- jes5199 10y agoin my experience, non-coders read the other work queues, and might try to interfere with the list, even though it's completely outside their domain