Re:The Linux codebase has over 3k TODO comments, many from o...
by sedatk on Monday December 30, 2019 @02:03AM
(#21911387)
Why would you grep in a scenario where a note is written because "[the]... code is functional, but if you are going to do another iteration you may want to consider the following improvement or optimization.". It's exactly meant for when you encounter it, it's not meant to be found externally.
[ Parent
| on HN ]
Re:The Linux codebase has over 3k TODO comments, many from o...
by TeMPOraL on Monday December 30, 2019 @02:18AM
(#21911445)
Because it's trivial to add special highlighting to such notes in most editors and IDEs. Hell, a lot of them come with a configurable list of these comment keywords already built in.
Re:The Linux codebase has over 3k TODO comments, many from o...
by alpaca128 on Monday December 30, 2019 @07:22AM
(#21912834)
Why would you intentionally leave out a TODO tag to make it harder to find?
Lowering the barrier to see such comments increases the chances of people actually handling them. Having a highlighted TODO in the code makes it much more visible even if you don't use grep.