Hacker News new | ask | show | jobs
by LanternLight83 820 days ago
Both points resonate with me, but I'd push back againt the idea that colored syntax highlighting is neccessary for either. I'm thinking of the Pygments 'bw' theme[1], which denotes strings in italics, and nano-emacs[2], which also manages to do.. a lot with a little (at least aesthetically, ie. idk about code volume or corner cases).

1: https://pygments.org/styles/

2: https://github.com/rougier/nano-emacs

1 comments

Fair points. Those both highlight syntax with type choices instead of color, so you're still getting a lot of the benefit but in black-and-white.

I think I'm personally more likely to quickly suss the difference between black text and yellow text than between regular and italics, so I wouldn't personally use that approach. I appreciate that there are choices, though!