There's a lot of pushback I've seen when studies like that get cited: they're old, they weren't about programmers, etc. And, maybe, but even though we're staring at LCD panels now rather than CRTs, light is light light and vision is vision. It's not about how much light is "shining into your eyes" as much as it is about visual acuity, and it's at least worth trying light mode and just... turning down the brightness on your monitor a little. Also, turning up the ambient light in the room. If your environment is so dark that the backlighting on your keyboard is visible, then you've tacitly designed your environment to make light mode blinding and uncomfortable, so you're not really giving it a fair shake.
I'd like to see studies about whether alternating between dark and light mode occasionally will help prevent your eyes from getting tired as quickly; my suspicion is yes, because it certainly does feel that way to me. But a lot of things that seem intuitively true don't stand up to scrutiny.
Dark themes/backgrounds have far worse issues with screen glare from badly configured room lighting than light ones do in my experience.
-----
I'm also curious why another area of design that is extremely concerned with legibility seems to have reached the opposite conclusion, pretty much worldwide.
Road signs.
Even though signs themselves can vary widely, the standard color scheme for road signs in every developed country I can think of, is a darker background with lighter text. I certainly don't have the studies in front of me, but I know a great deal of research has gone into fonts and legibility for road signs, and I presume what we see on the roads in the world is the result.
The road signs are an interesting question. I know there's a lot of work, and occasional controversy, over the typefaces used. If I had to hazard a guess for the color choices, though, it might be the signs have to be very visible in the dark, too -- that's now generally done by using reflective paint for the light part of the sign, but older highway signs, at least in America, used reflective dots in the letters. So that might be a tradition born less out of legibility studies than practicality.
... It definitely would be great to get more apps to release their data. I reached out to IntelliJ about IDEA data but I didn't hear anything back.
I'm a programmer so spend a ton of time in my IDE. Polar is designed for people that read a LOT so dark mode really matters to them.
When you're reading 100s of PDFs having a dark mode is kind of important!
In retrospect I'm kicking myself not working on this sooner.