2 ms·
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 cons
by sedatk 7y ago
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.
- TeMPOraL 7y agoBecause 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.
- alpaca128 7y agoWhy 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.