10 ms·
Ergonomics research has shown a long time ago that dark text on light background is easier to read on computer screens for long periods of time. These screensho
by pavlov 7y ago
Ergonomics research has shown a long time ago that dark text on light background is easier to read on computer screens for long periods of time. These screenshots demonstrate that developers in 2002 had got the message.
Young developers nowadays seem to mostly use dark backgrounds, which to me feels like a weird '70s throwback. I suspect it's primarily an identity signal: it's harder to feel like you're hacking The Matrix if your IDE looks like Word from a distance.
- newsgremlin 7y agoWhat is needed is alternating themes based on the real world day/night cycle. Even though when the sun goes down that arguable should be the time that screen time should be cut anyway.
- pavlov 7y agoFor me, macOS "Night Shift" does the job well enough. It gradually shifts the overall color temperature to warm at the end of the day.
- boomlinde 7y agoIf you are using X11, you can use xcalib to modify gamma/brightness/contrast of the color channels individually. My own quick hack is "xcalib -invert -alter" which simply inverts the colors. This probably breaks subpixel rendering, though, but IMO subpixel rendering looks like crap on low resolution displays and is pointless on high resolution displays.
- thrwayxyz 7y agoLight themes during the nights are murder on the eyes. Give me a nice solarised light theme during the day and a dark one at night.
- paranoidrobot 7y ago> Ergonomics research has shown a long time ago that dark text on light background is easier to read on computer screens for long periods of time. I have to wonder whether that research took into consideration how large and bright modern displays are, and for the duration that modern IT professionals are using them for. I would guess that the majority of these people would have been using 15-19" CRT monitors, and mostly single displays. In pretty much every office that I've seen, most people have two or three 23-27" displays. Modern LCD panels are also extremely bright. Staring at that much screen realestate with primarily light/white colours can be painful for long periods of time. It certainly feels less uncomfortable to use a darker theme.
- imglorp 7y agoAlso, did that research have variables for ambient lighting (in field of view but not from the display) and for screen glare? A 360-degree bright cube farm is much different from a dim room with a desk lamp facing away. Your eyes respond differently and I would love to know more. I suspect the real answer is a big, fat, "it depends."
- DyslexicAtheist 7y agoI have been using solarized-dark for a long time and switched to light background for a few years only to be back in a dark mode everywhere. I find this much easier on my eyes than light theme. Especially when I read some pdf's just before bed and all lights are off where my screen is the only source of brightness. Granted I also reduce my laptop screen brightness and pdf viewer (Zathura or Mupdf) supports custom colors (solarized dark). My eyes never get too tired. I've also used redshift for some time but I don't need the gamma reduction actually with the above approach. At night my laptop looks very similar to "e-paper" or a Kindle. And my gf who has to get up a couple of hours earlier doesn't even notice my late night reading next to her.
- pavlov 7y agoTurn the brightness down to something not much brighter than a sheet of paper on your desk. You can always turn it up to watch a movie. The brightness setting is like the adjustments on a car driver seat: the point is not to always use an extreme of the range. You probably wouldn’t move the seat all the way back just because the setting exists.
- defanor 7y ago> Turn the brightness down to something not much brighter than a sheet of paper on your desk. You can always turn it up to watch a movie. With the computer screens I've seen, it's only possible to approach paper in a brightly lit environment. I'm normally setting brightness to minimum and contrast to maximum, and still using light-on-dark themes with good (though not extreme) contrast. For dim environments, some mobile phone screens (and I've heard computer screens as well) attempt such adjustment automatically, and can go dimmer than common computer screens, but it usually leads to a very low contrast and illegible texts.
- ascar 7y agoIt's simply much, much easier for me to work with a dark background. Not fully black, but preferably a bit in the purple direction. You are not top-down reading most of the time, but working on lines, jumping between them. That's much easier for me on a black background, because the text pops out and the background "noise" is much easier on the eyes. When you're reading a block of text, you interact much less with the background than when you're searching and jumping between lines.
- fyfy18 7y agoI like my screen to be dim, and find that the white parts of an LCD are usually too bright, even when the brightness is turned right down. I expect an off-white or grey background on an OLED screen would be better, but they haven't made their way to the desktop yet. On my phone with an OLED screen I still prefer white-on-black, but that's mainly because even at the lowest brightness it is still far too bright at night.
- rq1 7y agoCan you provide some references? Using vi for 5y here (switched to neovim) in dark mode, with nofrils-dark[1] theme now, I don’t feel any less productive, on the contrary I can focus for way longer than before. [1] https://github.com/robertmeta/nofrils/blob/master/README.md https://github.com/robertmeta/nofrils/blob/master/README.md
- Crinus 7y ago> Young developers nowadays seem to mostly use dark backgrounds, which to me feels like a weird '70s throwback Everything "young developers" nowadays do seem to me a weird '70s throwback - from the proliferation of the command line (as opposed to actually trying to create advanced GUI tools for people who know what they are doing, like a lot of developers did in the late 90s/early 2000s whereas today you mainly have dumbed down GNOME 3 lookalikes), to using tiling and lightweight window managers "for performance" on "low end computers" when those low end computers have massive supercomputer abilities compared to the computers that people used -again- in the 90s with UIs that did WAY more stuff despite their limited performance, to having crude dumb TUIs that look and behave worse than what you'd get in DOS in the 80s, etc.
- VLM 7y ago"crude dumb TUI" Text is the most expressive GUI ever invented, but only for literate people.
- pjmlp 7y agoNah, that is the REPL in graphical workstations.
- pjmlp 7y agoHaving started coding in the mid-80's I really don't get it. I was thrilled when I finally had the opportunity to use graphical workstations.
- anthk 7y agoYou can have the best of both worlds, as TCL/TK did back in the day. And FVWM. You could expand your software in seconds.
- pjmlp 7y agoThe best of both worlds is having a REPL, just like the Xerox PARC and ETHZ workstations did. My first startup was an heavy Tcl shop, thanks to it I learned never again to depend on languages without support for JIT/AOT on their canonical implementations. My team was responsible for writing FFI wrappers.
- Aardwolf 7y agoI use light text on dark background to get less blue light in the evening, and during the day I also feel that less light from monitor is better
- nabla9 7y agoAccording to my cursory study, ergonomic research leaves out many variables and settings. Do you know research validating or contracting these claims: - light text on dark background in dark room better - dark text in light background in bright room is better - light text on dark background is better when refresh rate is low - the font size changes the situation. My personal experience after some testing is that light on dark with slightly larger monospace font that 'feels right' [1] leads to fastest long term reading and comfort. Also light on dark background is always better in dark room. Otherwise dark on light is better. Back in a day when we all had low resolution CRT monitors font size was large for everyone and light on dark was common. [1] If I just sit in a monitor and set up my programming environment I settle to text size that I can read well but is still relatively small. It seems reasonable that you want to see more text. But if I choose little bigger font than what 'feels' right I can read faster. Large font, light on dark background seems optimal.
- bluedino 7y agoI can’t even use a dark theme on a matte laptop in a bright room
- twic 7y ago> I suspect it's primarily an identity signal: it's harder to feel like you're hacking The Matrix if your IDE looks like Word from a distance. This is also my theory. My theory is that "hacker signals" like dark backgrounds, tricked-out shell config, and using vim are more common in language communities where people feel insecure about their claim to technical status - or rather, about the acceptance by others of their entirely legitimate claim - such as those of Ruby and JavaScript.
- mgkimsal 7y ago> such as those of Ruby and JavaScript. it may just be my own circle, but comparing the Ruby folks I know from 10 years ago to the Ruby folks I know now... there's fewer of them, and those that remain using Ruby day to day never went in for those 'hacker signals'. But the Ruby folks I know from 10 years ago who've left and moved in to other arenas (like JavaScript) did throw use some of that sort of signaling.
- jnbiche 7y ago> using vim are more common in language communities where people feel insecure about their claim to technical status What about us greybeards who just feel naked without vi/vim? I've ended up (due to market demand) in the frontend world, but I still use vim because I feel horribly unproductive plodding around with a mouse and arrow keys in Visual Studio or what have you. Yes, given a few weeks I could learn the shortcuts and be more productive, but I can't imagine I'd ever reach my vim level of productivity (same applies to emacs users as to vim users, I'm sure). So why put myself through that? Just something to keep in mind. Many of us use vim because that's what we're used to. And to be fair to the younger developers, some of them see how productive vim users are in navigating a document and make the switch. Nothing to do with "signaling".
- bregma 7y agoWhen I have a big edit I'll just pop open a vim window. I cut the text out of VS Code or whatever wretched web editor I have to use for some online App and paste it into the vim window, edit, then cut and paste back into the original window. When they come up with a variant of a pathetic markdown box that supports :%s//blah/g I might consider the internet ready for prime time. The best thing about modern GUIs is they let me have a zillion command lines open at the same time.
- mullikine 7y agoShadows on the wall -- Plato. This is a non issue with e-ink monitors. Neither side is correct. Until that day when all monitors are e-ink, I don't have to read ergonomics research to tell which is best. I just go with what my pain receptors and common sense tells me. The beaming white background of hacker news is making my head hurt and when I return to my black terminal I become aware suddenly of the rest of the room.
- onion2k 7y agoErgonomics research has shown a long time ago that dark text on light background is easier to read on computer screens for long periods of time. These screenshots demonstrate that developers in 2002 had got the message. Wouldn't the change in display technology from CRT to LCD make a huge difference? I'm not suggesting the ergonomics research from the era was wrong, but a new study could come up with very different recommendations today.
- z3phyr 7y agoI don't know. I work with rootkits and do Reverse Engineering stuff, (I believe that's the most "hackerpunk" you can get), and my setup is Emacs with leauven theme, pretty standard IDA white and Sumatra PDF viewer for reading (Everything on MS Windows no less). Its feels pretty great!
- VLM 7y agoHaving been around then, light backgrounds on old CRTs really showed off astigmatism and non-linearity and blooming and general problems of the technology, and 2002 is modern enough for "famous tech people" to have LCDs. Light backgrounds were a display of conspicuous consumption for those who could afford LCDs. Blooming, for kids these days, is when the HV supply of a CRT is poorly regulated in a constant-power sense and changes in display brightness cause changes in electron beam current cause fluctuation in acceleration voltage literally make the screen zoom in and out a couple percent while under high load. The poor regulation was usually worse under high current demand, so you could "clear ; top" a black background and there would be no weird zoom effects but a white background might zoom flutter in and out as the content of the screen varied. Very annoying to have one window flutter a little because another had its content change. Interference and weird aliasing problems showed up in vast fields of illuminated white background more than unlit black background. Retrace lines looked particularly awful on large fields of white. Yes there's a clamping circuit that SHOULD totally shut off the beam on vert-retrace but as you'd expect it looked awful on a $200 CRT monitor and beautiful on a $1000+ monitor. Its just not noticeable on a black background. There was also a filtering effect, light backgrounds having terrible image quality, a tech giant of 2002 spent decades staring into mostly black background terminals so anyone who in 2019 would not be able to stand black backgrounds was simply filtered out of the pool of possible tech giants back in that era. If you couldn't stare into the abyss of a TRS-80 model III black background sorta low res CRT display for 40+ hours per week, you simply had to leave the computing field in 1981, for example. The only times we used light backgrounds on CRTs was for non-text purposes (games) and very strange lighting problems (the hated glossy screen with a light source reflected into your eyes, perhaps a very bright CRT background would reduce the massive glare distraction) To some extent USABLE white background on a CRT was conspicuous consumption in that it was unusable on a $250 monitor or a TV connected to a 1980s home computer but usable white background CRT meant someone bought a $1000+ fancy name brand monitor. Anyone could have a decent black background display regardless of personal wealth but a white background meant you wanted everyone to know you had money, or at least you had money before you spent it, LOL. WRT conspicuous consumption I was multi-monitor back to the 80s (aka multiple machine on desk) and CRTs were an absolute nightmare where a 70 hz monitor next to a 60 hz monitor made both unreadable or in some ways it was even worse to have a 60.01 hz VGA card next to a 59.99 hz card because then you'd get a magnetic interference crawlie that crept up the screen slowly like a visual hallucination. The tech giants in the linked article were not doing tech work (generally) as most listed people most were (generally) managers and as such having one monitor on a desk for gnatt chart manipulation and email and such was typical for managers of that era, even if the techie front line personnel had three (or more) monitors on their desk. One of the most interesting interior design aspects of the CRT to LCD transition about two decades ago is my multiple monitors on my desk at home went from as far separated as possible to as close as possible due to no more interference. Roughly as interesting was the transition from 4:3 monitors to wide TV aspect ratios.
- rudiv 7y agoUse Nord theme and confuse old heads with your aesthete!
- usermac 7y agoI, for one, welcome our dark background.
- toyg 7y agoThis is the HN equivalent of avocado-toast bashing. Let’s not do that. As someone who used dark themes with CRTs whenever possible in the ‘90s, my theory is simply that those studies you mention were academic horseshit - CRTs with bright backgrounds were eye-killers. Well, they were eye-killers in general, but more when set with bright backgrounds. Unfortunately, colorbleed in small-size text made it a bit more difficult to read text on dark backgrounds, but that could be somewhat compensated with larger fonts if you had a big enough display. So basically you could choose two different ways to kill yourself, but one of them gave you a chance if you were rich enough (and lucky enough - most programs on Windows never allowed you to change their white background). Man, CRT was so shit. LCDs are much better in general, and occasionally worse (a lot of games make my eyes cry, with their aggressively shiny palettes). I still prefer dark out of habit in most cases, but it really depends on the monitor (and its calibration) and the surroundings. Saying one mode or the other is superior in all circumstances is silly, imho. And certainly wouldn’t bash millennials, or question their geek-manliness, for choosing this or that mode.
- mbrock 7y agoI’ve always liked to work at night or early morning or northern European winter afternoons and since 2002 it’s been obvious to me that a dark but not black background with a medium contrast text is optimal for day and night, especially the Zenburn theme. Please don’t come to my house at night and switch to a white theme because of “science”...
- pavlov 7y agoOf course everyone can use whatever they want. Arguments of taste are irresistible, that's all. (Did I mention I like proportional fonts?) The bashing is mostly the other way around though. I regularly get shit from people because I prefer white backgrounds. It's also some kind of meme — just the other day I saw a popular tweet that read "People who use light background IDEs are serial killers." As an edge case GenX-millennial who buys expensive avocados and lets them rot, it's pretty much my glass house for rock-throwing practice anyway...
- deleted 7y ago[deleted]
- vthriller 7y agoRelevant discussion from not so long ago about backgrounds and screen/ambient brightness and whatnot: https://news.ycombinator.com/item?id=19607699 https://news.ycombinator.com/item?id=19607699
- GordonS 7y agoI'm not a "young" developer, but regardless of any research I simply prefer dark themes because I spend several hours every day staring at screens, and I find them so much easier on my eyes.
- raverbashing 7y agoDon't forget they were using CRTs and today most people use LCDs I don't think one is necessarily better than the other "in general" but there are a couple of things to keep in mind: - White background might be better on more illuminated environments. Too much contrast is bad - Syntax highlighting is easier to resolve on a dark background
- bregma 7y ago> Syntax highlighting is easier to resolve on a dark background Definitely an unsubstantiated claim.
- throw0101a 7y ago> Ergonomics research has shown [...] [citation needed] I have no strong opinion on this subject, but I'd be interested in more data.
- deleted 7y ago[deleted]
- rofo1 7y agoFrom personal experience: I use dark themes on everything for years, and the difference is night and day, literally. Dark themes are much better for my eyes. Having a hard time believing any research suggesting otherwise. Would surprise me, to say the least. Also, this is anecdotal - I have 240Hz monitor, and since I started using it (couple of years), I have less eye strain. It could be the refresh rate, or it could be this particular monitor somehow (the quality or whatever). I am not sure. Basically, 240Hz + dark background + light text + low brightness is ideal for my eyes, based on my experience.
- meddlepal 7y agoI find dark backgrounds and low brightness make floaters in my vision much less visible working on a computer. Please take your condescension and put it where it belongs.
- adrusi 7y agoI don't think people are making decisions about their UI colorschemes based on ergonomics. As a rule, people who say they use white-on-black or black-on-white for reasons of comfort or health are just rationalizing an aesthetic preference. (n.b. I'm not weighing in on whether one white-on-black or black-on-white is more ergonomic, I'm just saying that it's rare that someone preference is actually grounded in ergonomics) There's no shame in having an aesthetic preference, nor in sacrificing some ergonomics to realize it. If people always preferred ergonomics to aesthetics, everyone would be wearing New Balance shoes (I'm a happy owner of a pair). Your system UI and your code editor is something you stare at a lot, and it's reasonable to want it to look good.
- bunderbunder 7y ago> Ergonomics research has shown a long time ago that dark text on light background is easier to read on computer screens for long periods of time. There are studies that have shown that in the lab. Meaning that it's worked out that way under whatever conditions were present in the lab, which aren't necessarily the same as the conditions in one's workplace. Real life is probably messier. For example: https://www.maketecheasier.com/are-dark-themes-better-for-eyes-battery/ https://www.maketecheasier.com/are-dark-themes-better-for-ey...
- Shorel 7y agoYet the opposite result was published as research when screens were CRT with green or orange screens. I think dark text on a light background looks better in my Kobo. It is a device that looks great on a sunny day. But I prefer light text on a dark background in Sublime Text when reading on the laptop screen. Different technologies, different light profiles. Maybe what you want and need is an e-ink laptop screen.