4 ms·
I use syntax highlighting is to... well, highlight important things. I think "syntax highlighting" is a bit of a misnomer, "syntax coloring" might be better.
by gmiller123456 4y ago
I use syntax highlighting is to... well, highlight important things.
I think "syntax highlighting" is a bit of a misnomer, "syntax coloring" might be better. Since some type of styling is done to pretty much all code in most of the common themes, you really can't say it's highlighting everything. One principle of design is that in order to emphasize something, other things have to not be emphasized. The syntax coloring just increases the contrast of similarly weighted things.
- solasluaith 4y agoExactly, the fundamental assumption that I’m making is that all code should have the same level of emphasis — like a regular text — while maintaining the ability to scan for categories of words. If someone disagrees with that assumption, the palette will not work for them.