2 ms·
Fading out comments is exactly right. This choice in syntax highlighting is correctly based on the observation of what the vast majority of comments are, not wh
by kazinator 7y ago
Fading out comments is exactly right. This choice in syntax highlighting is correctly based on the observation of what the vast majority of comments are, not what some blogger thinks ideal comments should be.
Important "must read me" comments can be accommodated in syntax coloring via some additional notation:
//
// this is faded toward the background
//
// ! this is loud
// ! read it!
//
And, you know, unless I'm focusing on that area of the code for a specific reason, I probably don't want to read that. Should I need to turn my attention to that area of the code, I will read it, even if it is tastefully dimmed out.
One problem with a loudly colored comment is that there is no "marked read" button once you get the message, like in a message inbox. No matter how many times you read it, it stays lit up. (Maybe there should be such a feature. If a browser can remember what links you have visited, and show them in a darker color, a text editor could keep track of which loud comments you have already read.)