TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10309 1.19K
#prog #article

Syntax highlighting is a waste of an information channel

Color carries a huge amount of information. Color draws our attention. Color distinguishes things. And we just use it to distinguish syntax.

Nothing wrong with distinguishing syntax. It's the "just" that bothers me.

<...>

I've listed some examples of what we could do with this. If this is something that already exists I included a link.


We can use different colors to mark how nested a set of parenthesis are.
<...>
Highlight different levels of nesting.
<...>
Highlight identifiers imported from a different file.
<...>
Highlight functions that raise errors not caught in their body.
<...>
Highlight functions that were directly called in the bodies of tests that failed in the last test run.
  • 😢 20
  • 👍 11
  • 🤔 2
More from @dereference_pointer_there
  1. Oct 17, 2026#prog #rust хайлайты: Добавили быстрый путь для итераторов BTreeMap. Эффект колоссальный:…
  2. Oct 16, 2026Тем временем разработчики на Go *tailscale
  3. Oct 16, 2026А всем остальным нам?!
  4. Oct 16, 2026#meme про сон
  5. Oct 15, 2026#prog #rust #suckassstory rustc uses the Path hash code to identify files, and the Path ha…
  6. Oct 15, 2026#python #meme
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →