My bet is that is that most people think that it's easier on the eyes. Or maybe just that it looks cool. 😎
Lately I've been allowing my OS to switch between dark and light automatically based on time of day, and then configuring VS Code to mirror the OS theme (settings > "Auto Detect Color Scheme"). The trick with that approach is that it's nice to find an editor theme that has both a dark and a light variant that go well together (not required, but it's nice), which I use themer for.
for me it's because most of the screen taken by the background and not the code, so looking at a screen that pitch light 12h a day is just to much for my eyes. Try just for 1 minute looking directly at a light bulb, it hurt.
Polyglot, autodidact. OSS author and contributor. Addicted to writing code, seeking my next 'fix'. Love communicating with an audience whose eyes don't glaze over when I get to the 'good parts'.
I'm a Systems Reliability and DevOps engineer for Netdata Inc. When not working, I enjoy studying linguistics and history, playing video games, and cooking all kinds of international cuisine.
Syntax highlighting is usually easier to read in a dark theme. By most measures, bright neon colors on a black or dark background have better contrast than dark colors (navy blue, brick red, etc) on a white background. When your job involves as much reading as software development does, making it fast matters, and it's easier for most people to read quickly when you're dealing with better contrast.
There are other reasons of course, but that's one that I feel does not get mentioned enough, possibly because many people just don't think about it.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (4)
My bet is that is that most people think that it's easier on the eyes. Or maybe just that it looks cool. 😎
Lately I've been allowing my OS to switch between dark and light automatically based on time of day, and then configuring VS Code to mirror the OS theme (settings > "Auto Detect Color Scheme"). The trick with that approach is that it's nice to find an editor theme that has both a dark and a light variant that go well together (not required, but it's nice), which I use themer for.
for me it's because most of the screen taken by the background and not the code, so looking at a screen that pitch light 12h a day is just to much for my eyes. Try just for 1 minute looking directly at a light bulb, it hurt.
As an added benefit. On OLED displays (ex mobile) dark mode can greatly reduce power consumption.
Syntax highlighting is usually easier to read in a dark theme. By most measures, bright neon colors on a black or dark background have better contrast than dark colors (navy blue, brick red, etc) on a white background. When your job involves as much reading as software development does, making it fast matters, and it's easier for most people to read quickly when you're dealing with better contrast.
There are other reasons of course, but that's one that I feel does not get mentioned enough, possibly because many people just don't think about it.