Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree with basically all of the article. But I have a probably-misguided idea for better comments: Change text editors so that they don't put comments in dark grey (which for most of us, is on a black background)!

Why does my text editor think that, e.g., a function call should be blue and keyword arguments to it should be bright orange, but a comment should blend in to the background? Have them be bright green or something! If something merits a comment, it should be the most visually important thing in that block. At least that'll make bad (pointless, redundant, or outdated) comments stand out enough to annoy people.

If anyone knows how to make Sublime Text do this I'll give them a big virtual hug. :)



Usually any programming text editor will have themes for syntax highlighting. You can pick a theme that does what you want or modify one that suits you.


Ditto. I always edit themes to make comments brighter than code. Fairly easy in sublime text, more-so now there’s a built-in “edit theme” function.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: