Sunday February 12, 2006 IDEs tend to de-emphasize comments. Visually, code is more prominent than comments. For example, while most IDEs use black for "code", in NetBeans comments are light gray; in IntelliJ they are also light gray, in Eclipse they are light green and in Visual Studio they are also light green. In all cases, the comments have less visual weight than the surrounding code.
I have a new co-worker, and when I went over to his computer the other day I was shocked to see his modified syntax highlighting color scheme. He had basically turned everything to black - except comments. And the comments - bright red! His rationale is that comments are vital, and he wants them to jump out visually.
I decided I'd try out his scheme. Switching all comments over to red was too much - I like javadoc for methods to stay "quiet". So I settled on switching line comments over, and leave block comments alone (and these are always javadoc, because I use line comments in all other cases, even for comments that span multiple lines.)
I've tried it out for several days now and I think I might stick with it. Judge for yourself - if not by screenshot then in your own IDE.
(2006-02-12 00:28:33.0) Permalink Comments [2]
Posted by 59.94.211.187 on February 12, 2006 at 08:07 AM PST #
Posted by Paul Healey on February 12, 2006 at 11:41 AM PST #