3 ms·
THIS! I'm shocked to see so few comments discussing the amount of mental overhead syntax highlighting helps you avoid. Without syntax highlighting, I have to k
by gingerrr 10y ago
THIS! I'm shocked to see so few comments discussing the amount of mental overhead syntax highlighting helps you avoid.
Without syntax highlighting, I have to keep the contextual meaning of every character I read in state mentally, and constantly update the mental map I have of the code. I have to actively parse every character.
With syntax highlighting, the relationship of each token to the rest of the tokens around it is preserved, so that meaning is inferable rather than needing to be maintained in memory. I can scan and jump around between meaningful code anchors without having to read every line of code between. It's like getting to jump straight to the AST.
To each their own, of course. I started programming without syntax highlighting and the switch made me a faster dev without question.