News for hackers. Stuff that matters.
Re:The Linux codebase has over 3k TODO comments, many from o... by imtringued on Monday December 30, 2019 @12:27PM (#21915027)
There is a pretty simple rule for this problem:

Can you do it immediately? Do it now. Must you do it later? Write it down.

If you decide to use TODO as a way of writing something down then you must make sure that these TODOs are just as visible as whatever ticket system you're using and that they are integrated into your release schedule.

Re:The Linux codebase has over 3k TODO comments, many from o... by TeMPOraL on Monday December 30, 2019 @12:47PM (#21915198)
I disagree. The reason those TODOs appear is because the answer to the question "Can you do it immediately?" is, "yes, I can, but it would break my flow and interrupt what I'm doing right now". The reason some of them don't later get promoted to issues in the tracker is because they're too small or otherwise irrelevant at the project level. Their place is in the code, where the next person looking at it will spot them.
Re:The Linux codebase has over 3k TODO comments, many from o... by darekkay on Monday December 30, 2019 @06:45PM (#21917739)
Then it is not a TODO, it is a NOTE. Don't act as if it will be _done_ magically in the future. If I stumble upon a TODO, I won't fix it (because it will diasrupt my flow - the reason for the TODO in the first place). And if it is not in the issue tracker, I can't plan for it. A solution would be some kind of an "implement as many TODOs as possible" time-boxed spike, but this never worked really well for me in the past.