News for hackers. Stuff that matters.
Re:Stop lying to yourself – you “fix it later” by davidmurdoch on Sunday November 20, 2022 @03:23PM (#33684870)
I like both at the same time. A TODO and an issue, and the Todo has a link to the issue, and the issue had a permalink to the TODO line. Sometimes the TODO gets done during a refactor or otherwise, so having the comment with a link ensures the corresponding issue gets closed.
Re:Stop lying to yourself – you “fix it later” by saghm on Sunday November 20, 2022 @03:25PM (#33684889)
Yeah, this is how most of the teams I've worked on have done things. `TODO` is only allowed when accompanied by a link to a ticket, and people are expected to (and do!) enforce this when code reviewing.