Question: Why do most programmers/developers use a dark theme while writing software/code?

Answer: Because light attracts bugs.

@nixCraft

Easier on the eyes...

Prolongs the life of your LED screen, particularly if it's OLED.
@ferricoxide @nixCraft and safes energy.
@SomeAnoTooter
You're thinking of turning the screen brightness down
@phi1997 no. I'm thinking of oleds ;)
@ferricoxide
I've never understood why so many people unironically say dark themes are easy to look at. Maybe it's because of my astigmatism, but I find the vast majority of dark themes unbearable.
@nixCraft

@phi1997 @ferricoxide @nixCraft I have astigmatism and have a way harder time reading anything in light mode. Dark mode makes everything significantly easier to see.

Different eyes see things differently I guess, because I don't understand how anyone could use light mode :P

@Kovatoro @phi1997 @nixCraft

Similar: I've significant astigmatism in both eyes – to the point if significant vision doubling in each eye. Black on white is much harder for me to read than light on black, and vast swaths of light color – particularly FFFFFF white – is excessively fatiguing.
@ferricoxide @nixCraft @phi1997 fatiguing seems like the best word for it. It feels like the eye equivalent of doing 100 squats and then trying to sprint. (I'm exaggerating a bit, but the thought entertained me)
@Kovatoro
That's how dark modes are to me. I think we can agree that it's really frustrating when a program lacks proper theming.
@ferricoxide @nixCraft
@phi1997 @ferricoxide @nixCraft Totally! Options should be the minimum, customization would be ideal.
@phi1997 @ferricoxide @nixCraft If you wait N years, you'll see why some people prefer dark mode - where N is large enough that you'll start having cataract issues. BTW, some of the software I've written picks dark mode or light mode based on system settings, so it will hopefully do whatever the user wants automatically.
@bzdev @phi1997 @nixCraft

O365 annoys the piss out of me: defaults to bright mode, and when you go to change it, it offers dark mode or to match your system setting. Like, "why wouldnt it just default to the system setting??"
@ferricoxide @nixCraft It’s actually from before LED screens, CRT screens had a hard time providing non flickering white backgrounds.
Which is why I find it weird that people choose dark today, proper white works just fine now.
@helge
Probably a combination of force of habit and people who never use light mode regurgitating the idea that dark modes are better as if it's not just an opinion
@ferricoxide @nixCraft
@helge @nixCraft

Having been using computers since the 70s, always found most of the modern "light mode" implementations to be eye-searing. Irony is that the display Postscript systems of the late 80s and early 90s were less fatiguing than the 00s' eye-burners. Probably a function of the difference in light quality produced by cathodes vice LCDs and LEDs.
@ferricoxide @nixCraft I’m not entirely sure what DPS has to do with it, it’s a display hardware thing. I’ve been working with NeXT MegaPixel displays and they’ve been great for the time, but they can’t rival the cheapest LCD available today.
I think eye strain is primarily because they are too capable, tune them down 🙃
ePaper displays are the real contender.

@helge @ferricoxide @nixCraft in GEOS (graphic environment operating system) we never had any theme choices.

I loved my C64 for having a GUI and proportional spacing with WYSIWYG printing, no themes then on both my National TV (monochrome) & my CBM Colour CRT

https://en.m.wikipedia.org/wiki/GEOS_(8-bit_operating_system)

GEOS (8-bit operating system) - Wikipedia

@ferricoxide @nixCraft
Only if you have perfect eyesight, if you have imperfect eyesight dark on light is better, that's why opticians use dark on light background.