There's plenty of disagreement and controversy at the moment, so let me stoke things a bit more:
# Light Mode is better than Dark Mode _(for me)_
Here's why, with some science behind it, too. Yes, I have a justification as well just a preference…
---
Let's start with what we know:
The pupil of the eye shrinks when there's a lot of light and dilates when it's darker
The question is: how much difference will it make between viewing a screen in dark mode and light mode?
Here's a very rough, crude experiment _(emphasis on "rough" and "crude", and use of "experiment" is very loose here!)_
_Details in next toot_
/1
#Python #programming #darkmode #lightmode #IDE #codingeditor #coding
I used PyCharm's Darcula and IntelliJ Light themes on a 27" screen — PyCharm was in full screen mode. iMac was on 75% brightness (usual setting)
I stood in my normal position—arm's length from screen—and looked at the middle of the screen…
Here's my eye pupil as I switch from dark mode to light mode
Video quality not great (don't view in full screen!!)—but this is just a rough experiment, so it will do nicely
And you can see stills, with a very rough estimate of the relative pupil sizes, in the first toot…
On the right you'll see the small pupil from the light mode scenario shown in red and superimposed on the black "dark mode" pupil
/2
How about diffraction?
Diffraction is something completely different… It's a fundamental optical phenomenon
All optical systems suffer from this, even ones that have no aberrations (imperfections)
Small pupils lead to more diffraction which reduces resolution.
Large pupils have less diffraction and therefore have less of an effect on resolution.
This is why telescopes have large diameters and professional photographers have lenses with larger diameters.
/4
Back to dark and light modes.
For someone with high higher-order aberrations (like me), dark mode pushes the pupil size well above the ideal pupil size, therefore vision is worse.
This will not be the case for everyone, of course.
But, dark mode is not for everyone…
If, like me, you prefer light mode, ignore all those who snigger because "pros use dark mode"
/6
@s_gruppetta
interesting reasoning, maybe I'll change to light some day thanks
@Santiag0 it doesn’t mean it applies to all, though. We all have different levels of higher-order aberrations, and our pupil sizes change by different amounts
@s_gruppetta I'm using dark mode everywhere, but honestly, "pros use dark mode" is such a BS... Thanks for a very informative thread.
So, in the human eye, there is an optimum pupil size. If the pupil is very small, diffraction leads to lower resolution…
If the pupil is too large, higher-order aberrations lead to lower resolution.
The sweet spot varies from person to person (it's roughly around 3-5mm — the pupil typically can vary between 2-8mm in an average eye)
/5