this post was submitted on 19 Oct 2025
32 points (61.6% liked)
Programming
23348 readers
286 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 disagree. I want syntax highlighting because I think it’s easier to read. I don’t care much about which color everything is, just that different things have different colors. I don’t remember any color mappings, and I’m never thrown off guard if the color mapping change.
When I read
var count = 0L, I want to know thatvaris syntactically different fromcount, andcountis different from0L. That’s it.Exactly!! Having each different part be different colours essentially breaks the code into larger "tokens" which is much easier to read than letting your eyes get lost in a sea of uniformity.
It's not about knowing which colour is variables and which colour is functions. It's about there being some contrast between them.