2 ms·
I think that comments should stand out and modified solarized accordingly in my editors. I made it a bright lightish green (in dark mode) in my main editor. If
by onli 4y ago
I think that comments should stand out and modified solarized accordingly in my editors.
I made it a bright lightish green (in dark mode) in my main editor. If you haven't yet, I can only recommend to give that a try.
Justification: A comment that exists should only exist if it is important, if it is helpful documentation for a function or for some specific code section. If that's the case then a comment should absolutely be the first thing you see, thus it should stand out.
That sound a bit like I would advocate to comment less, but that hasn't been the effect of that change. To the contrary, I'd say it was a factor in my placing more (in my eyes important) comments in code bases than many other developers I work with.