4 ms·
That's very interesting! I just remembered that I instinctively turn on syntax highlighting at every chance that I get. The highlighting pager bat is one of my
by goku12 2y ago
That's very interesting! I just remembered that I instinctively turn on syntax highlighting at every chance that I get. The highlighting pager bat is one of my most frequently used tools. Despite that, my sight never registers the colors as long as they have good contrast. All I see is structure - as if the colors convey meaning the same way as text does. The colors make occassional typos and syntax errors very obvious. One peculiar case is of 'else if' statements. It's alternatively elsif and elif in other languages. I recollect it in most cases based on the color - again almost involuntarily.
The fact that you get all that with plain text and that color is a distraction for you is fascinating. This difference demonstrates how complex and deep human perception is.
- gregjor 2y agoProbably more a matter of history and habit than something fundamentally different about perception. I didn't have a terminal or computer that could display colors until I was well into my career, already used to monochrome displays and reading code printed out on paper. I use linters and static code analyzers extensively, because I don't have an IDE or LSP flagging errors. I tried using VSCode (with and without colors), stuck with it for a while, but it felt slower and buggier than my usual vim + ctags + ripgrep setup.