I think comparing text and code actually makes perfect sense but you have to compare the right text.
Pick up any reference book. A dictionary, a textbook, a phone book, whatever. Leaf through it a bit. You'll find they all use text formatting to highlight things. The dictionaries I've used typically use bold for a word and its different forms, italics for parts of speech, and such. Phone books similarly use different weights and sizes for names, addresses, and phone numbers. Textbooks use bold and italics to highlight important terms and concepts and students will often mark up the books to further highlight certain things.
Code is usually not meant to be read like you would a novel; it's much more like a reference text. For me, at least, syntax highlighting is a tool that supports the ability to more easily find what I need and understand it in isolation. Maybe it would be slower for me to read a syntax-highlighted file token-by-token end-to-end than an un-highlighted one but that's not a use case I ever need.
I have to agree with you on that! My bad that I didn't specify what kind of text I was refeering to! I thought of example that was provided in the post.
Pick up any reference book. A dictionary, a textbook, a phone book, whatever. Leaf through it a bit. You'll find they all use text formatting to highlight things. The dictionaries I've used typically use bold for a word and its different forms, italics for parts of speech, and such. Phone books similarly use different weights and sizes for names, addresses, and phone numbers. Textbooks use bold and italics to highlight important terms and concepts and students will often mark up the books to further highlight certain things.
Code is usually not meant to be read like you would a novel; it's much more like a reference text. For me, at least, syntax highlighting is a tool that supports the ability to more easily find what I need and understand it in isolation. Maybe it would be slower for me to read a syntax-highlighted file token-by-token end-to-end than an un-highlighted one but that's not a use case I ever need.