Live data from Hacker News

Ask HN: Do you program in black or white?

news.ycombinator.com

11–20 of 42 posts

Re: Ask HN: Do you program in black or white?

#11
post #5

I started out with dark backgrounds because of vim + Linux. The default terminal was black. Now I use the dark background w/ color text for all my editors/IDEs. I tried switching to the white background for a week, but it really hurt my eyes. I had to switch back after a few days.

Same experience here. I start having difficulty coding when the background is too bright, or even when the text is too bright on a black background (I had the text be a light gray for nearly a year, and I never really realized it wasn't white. Then when I looked at white on black code, it looked very bright and unpleasant to read.)

Really? I never had that problem. I started out using Notepad++'s default coloring (black on white). Then I switched to Vim and used a dark background. Switching between dark and light background has never been a problem for me.

Could you elaborate more on your situation? Did you always use a dark background? What are the conditions around where you code?

Light grey on black for me is still too hard to see. I prefer pure black and white. On the Windows Command Prompt, I set the default color to 0F instead of the default.

My concern is not so much with a dark/light scheme, but with color contrast.

Currently, I use Vim with a dark colorscheme ('desert') and I love it. My friend, Aaron, also uses a dark colorscheme.

However, my other friend, Brian C., has an affinity for light backgrounds. Whenever I show him code on any dark colorscheme, his first response is to make it white. Then again, that is his normal setup; that is what he always deals with.

Re: Ask HN: Do you program in black or white?

#12
I use light background. I feel like I have to. Any time I switch from light text to dark text it takes time for my eyes to adjust. So when I'm looking up documentation etc everything need to be the same. Even the bar at the top bothers me. SO I use the black on white.

Re: Ask HN: Do you program in black or white?

#15
#222 for background, something like #eee for common text, and light pale colors for vars/stings/etc. I found that #fff text on #000 bg hurts even more than plain black-on-white.

Also, overhighlighting kills my ability to focus - I use at max. 4 colors

Re: Ask HN: Do you program in black or white?

#18
i had a vt510 connected to an openbsd machine in my bedroom about 10 years ago and did most of my unix work with it. since it can't display colors, i setup mutt, vim, tin, epic, etc. to only use bold/underline/reverse attributes for highlighting instead of different colors.

10 years later and i'm now using openbsd on a laptop and typing in an xterm instead of a vt510, but i still only use bold/underline/reverse in all of those terminal apps. however, i did switch from grey text on a black background on the vt510 to black text on a white background in xterm, but that's probably just because it's the default on openbsd.

Re: Ask HN: Do you program in black or white?

#19

I recently switched from a black & white scheme to a colored scheme. As of now I'm enjoying a black-greyish background with some nifty colors. IMO, colored code makes the process much more fun. I'm not sure if it makes me more productive though, but I wouldn't rule it out. Small screenshot: http://photos-f.ak.fbcdn.net/photos-ak-snc1/v2102/219/106/34...

what editor is this?
Post reply on HN