Next, let’s tone down punctuation
And now you've lost me. "Toning down" means lowering contrast means making it harder to read. Why would I want any part of the code to be hard to read?
( and {, or , and ., or ; and :, or >= and =>. If you find it hard to visually separate letters/words and punctuation, may I suggest giving them different colors? 😈, instead of ; in Real Code™. And I have definitely seen () vs {} mixups.@nikitonsky I've also been using my own restrained theme for ages now: https://codeberg.org/aerique/emacs-theme-aerique#emacs-theme-aerique
Another important aspect of what restrained themes do is partitioning the code into easily scannable pieces.
@nikitonsky To me it's always been key to *stick to it*. That is: I started in Turbo C++ 3.0 on DOS, and I have never switched color scheme and only switched font once (and to something very similar).
Investing in training your brain on a theme for decades is key to making it work imo.
@nikitonsky This was really interesting to read, thanks! It makes a lot of sense.
My brain works against me, so don't think I could make the switch, though. Way too used to my christmas lighting by now. Even considering a font change is too much 😆🤷♂️
@nikitonsky hey, good post, agree on most of the things.
So one case of using bold and italic instead of background colors would be to use background color for search highlighting, e.g.
@nikitonsky except you ain't sorry at all... ^
@nikitonsky yep yep. Some years ago I watched a talk by Douglas Crockford where, among other things, he discussed syntax highlighting, and conjured https://marketplace.visualstudio.com/items?itemName=darthspectrum.darkdoug for personal use.
It took some time to get used to but reading code became so comfortable.
I find the actual book analogy helpful here: we do not need different colors for verbs and nouns and so on to be able to read the text
@nikitonsky @catppuccin would like to have a word with you lol
I'm using https://felipec.github.io/vim-felipec/ since quite sometime and I like it. Reason why I switched from fancy themes to this was because of the poor contrast in popular themes
@tris @nikitonsky ”All variable identifiers we assign to twice”
About 15 years ago, I actually wrote a plugin for an IDE that did exactly that, because I needed to clean up code that was abusing variable reuse a lot.
@nikitonsky Really interesting post. I've created an Alabaster port for the Nova editor, since there didn't seem to be one yet