this post was submitted on 19 Oct 2025
35 points (62.2% liked)
Programming
23255 readers
205 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess I’m one of the few here who uses pretty much the same approach with 4 colors as the author, with even another twist. I’m not saying I followed the same train of thought to come to this conclusion, but the names of my constants and functions are black, strings are green, and numbers are blue. The keywords and punctuation are gray to be less visible, not unlike in Python.
The added twist is a nod in the direction of people saying the white background burns their retinas, but there are more background colors than blue and white. I chose a calm light-green one, which I also use whenever I’m reading texts. It’s not exactly the combination with the most points in the scientific readability research, but I remember that the dark background lost that competition.
I attribute to these choices the fact that I notice many more typos in the code of my colleagues than they do in mine.