Live data from Hacker News

Turning off syntax highlighting

dudzik.co

191–192 of 192 posts

Re: Turning off syntax highlighting

#192

Earlier quoted context omitted.

The difference here is that on a traffic light the colors are important and inherent to the traffic light's functionality. This is not true in source code. Syntax highlighting "helps" you to spot strings, numbers, keyword arguments etc. faster. But normally this is not what programming is about.

I think you've done a better job supporting the other side. The direction and order is important and inherent to the traffic lights functionality, not the color. The color merely helps identify state. Colorblind people can drive fine without knowing which is red and which is green. The point of colors in syntax highlighting, to me, is not to have a handicap, it's to read the code at the fastest speed possible. No one…

When you talk about reading the code then you mean parsing? When you think you gain productivity by parsing the code in strings, variable assignments, function calls, numbers etc. then syntax highlighting is good for you. But I don't think a programmer gains anything from this.
Post reply on HN