3 ms·
This +1000. By graying out comments the editor/site makes it much easier to separate these two separate-yet-interleaved streams of information. I don't want a b
by rockemsockem 4y ago
This +1000. By graying out comments the editor/site makes it much easier to separate these two separate-yet-interleaved streams of information. I don't want a big ugly call-to-action on every single comment.
This guy seems like he should just customize his own syntax highlighting and diffing tools and be done with it.
- delusional 4y agoI highlight comments bright red in all editors, and it's really no different in terms of "filtering into separate streams". What it does significantly change is my initial approach to entering foreign code. Instead of immediately reading the code, my eye is drawn to the comments, often providing me with insightful commentary that then guides me in understanding the code. As a bonus, it has also made me more sensitive to outdated comments, which I views as a plus. Of course, comments also often contain the hidden assumptions or limitations of the algorithm that were too expensive to check. Often the comments actually do contain the bug you're looking for. I suggest you give it a shot. I didn't expect it to make as much of a difference as it ended up doing.