Ask HN: Can't focus when writing code in dark mode
21–30 of 57 posts
Re: Ask HN: Can't focus when writing code in dark mode
#22Re: Ask HN: Can't focus when writing code in dark mode
#23I started as a developer in the 80s on vt100 terminals with green and amber on black screens. I vividly remember how nice it was to switch to a light background without flicker and have never looked back. Choose what works for you.
Re: Ask HN: Can't focus when writing code in dark mode
#24Re: Ask HN: Can't focus when writing code in dark mode
#25I still use most terminals in dark mode because I dislike their light color themes.
I guess the essence is that I prefer light themes if they are really good (for me). In the end this is all subjective and you should just choose by comparing themes yourself and not because others use "some theme".
Re: Ask HN: Can't focus when writing code in dark mode
#26In my 20s/early 30s I really preferred a dark environment when coding. It's how I "grew up" with my first job back in the 90s, based in a cellar.
At some point around being ~36-38 years old I randomly started feeling that I preferred a light environment - a view outside would be really nice too.
I think it's mostly due to what you're used to.
Re: Ask HN: Can't focus when writing code in dark mode
#27The more light that hits your eyes, the more your iris contracts. The smaller hole makes for a clearer image (think of a pinhole camera). People who like dark mode have good vision at screen distance. For some others, they need to strain their eyes more to focus at that distance. For me, the best is to have dark text on a light enough background, enough screen brightness overall, and a well lit room (natural light is…
Re: Ask HN: Can't focus when writing code in dark mode
#28Interestingly I developed astigmatism over a few short days when I was under a lot of mental trauma. Not sure if that was causal or just coincident. Can a serious emotional shock damage eyesight?
Re: Ask HN: Can't focus when writing code in dark mode
#29I've not only got all my IDEs in dark mode, all my browser apps use stylus to darken things if the app doesn't already have it, and my MacOS is set to be permanently dark. And naturally my terminal window as well, and my mobile apps on all devices.
I simply find the strain on my eyes is a lot less. Particularly at night if I feel I need to reply to a message or use the laptop for whatever reason, it doesn't make my eyes hurt to open it. Before my dark mode revelation it would actually make me have to close my eyes.
Aethetically it makes sense too. With dark your laptop stops being a massive source of light, it's more of an everyday object that fits in any lighting.