4 ms·
"The best way I can describe it is to compare it to reading a book. When I read a book, I don't want parts of speech highlighted in different colours. What I wa
by bcj 13y ago
"The best way I can describe it is to compare it to reading a book. When I read a book, I don't want parts of speech highlighted in different colours. What I want to do is to read the book, to take in the information."
I found this interesting, as my reaction has been almost the complete opposite. I've never felt that syntax highlighting played a part in understanding code at a high level. Syntax highlighting is there for when I'm reading my code like a copy-editor. It (along with an inline linter) is there to make syntactical errors more obvious so I can deal with them as I make them.
- oneeyedpigeon 13y agoI think this analogy is just terrible. A book != code. Well, certainly a novel, in which you're not re-reading the same sentence several times over, flipping 100 pages forward, then 90 pages back, etc. I can actually think of certain ways in which a non-fiction book could be usefully 'syntax highlighted'.
- deleted 13y ago[deleted]