Syntax Highlighting makes your code look pretty, right? But is it just an aesthetic nicety, or does it have a more functional impact? And are there ways to improve it?

What is syntax highlighting?

Long ago, when I first learned to program, code looked like this:

Screens were low-res, low-refresh, and resolutely monochrome. Sometimes your code was light blue on dark blue, sometimes it was green on black, but it was always a single font, in a single color. I’m not sure how long I put up with this, but my best guess is that I started using syntax highlighting in the early 2000s, when the TextPad editor added it as a feature. Nowadays, my code looks like this:

I find this a lot more pleasant to work with, although I don’t often think about it: syntax highlighting is just there, an ev…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help