topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 1:16 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Poll

dark or light background for programming?

Dark
17 (29.3%)
light
33 (56.9%)
I alternate
4 (6.9%)
I spend hours configuring my editor colors and change them with moon cycles
3 (5.2%)
What's a text editor?
1 (1.7%)

Total Members Voted: 58

Last post Author Topic: Do you use a light or a dark background in your editor for programming?  (Read 29571 times)

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Vote please...

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
I definitely prefer black text on a white background, or at least something similar - very dark on very light!

I do think the dark backgrounds look really nice, but I just find that over a period of time - especially if I am working on something for hours on end - the light background with dark text is easier on my eyes.

That said, for some reason, way back in my WordPerfect 5.1 days, their standard white text on a medium blue background was kind of easy on my eyes also.  Supposedly, IIRC at that time, Corel had researched the eyestrain caused by looking at a monitor all day long and determined that the white on blue was the best.  However I never saw anything to back that up, so it may have been hogwash!

Of course the monitors we were staring at back then were a lot tougher in general to look at for long periods. I don't think they had the refresh rate that they do today.

Jim

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Mostly because it is the default. Although I sometimes make is a slight shade of gray. However, I imagine using light on a dark background is better for your eyes and have often wanted to try it for an extended period of time to see if it is, but I never seem to get around to actually trying it.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
for me it's always black on white (background), any other way would blind me.. :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
I spend hours configuring my editor colors and change them with moon cycles
;D ;D ;D

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
You should have an Other option: my color is r183 / g190 / b41

How do you like that color?

(by the way, I'm colorblind)

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 1,321
    • View Profile
    • Donate to Member
it has to be dark, gray at least!

Attached I have a current screenshot of my desktop, showing xchat and vim. You can see I usually have lighter colors on a darker background.
« Last Edit: December 26, 2007, 07:27 PM by housetier »

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
A room filled with sunlight by day, and by my trusty desktop lamp by night is my tool :). So that means everything is black on white by default.

I'll look into the moon cycles and that, it's one more use for something as inutile as the Moon ;D

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
You guys may want to check out this thread. ;)
« Last Edit: December 26, 2007, 08:03 PM by Gothi[c] »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Black on white, since it's the default. Big bother messing around if there's no predefined color schemes. I kinda like one of the light-on-dark schemes in VIM (I think it's called desert? yes it is, forum search for VIM desert worked :) ), but I never really learned to love VIM - can't be bothered.

That other thread I just linked is kinda related to this one, so it's probably worth a read if you're interested in this one.
- carpe noctem

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #10 on: December 26, 2007, 08:04 PM »
That other thread I just linked is kinda related to this one, so it's probably worth a read if you're interested in this one.

I was first. :P

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #11 on: December 26, 2007, 08:10 PM »
That other thread I just linked is kinda related to this one, so it's probably worth a read if you're interested in this one.
I was first. :P
<spam>only because I wrote a lengthier post, involving having to do a search :P</spam>
- carpe noctem

icekin

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 264
    • View Profile
    • icekin.com Technology,Computers and the Internet
    • Read more about this member.
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #12 on: December 27, 2007, 02:37 AM »
White text on a black background, guess I'm in the minority then.

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 1,321
    • View Profile
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #13 on: December 27, 2007, 07:28 AM »
f0dder, which editor have you learned to love then? Maybe it has a desert color scheme too?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #14 on: December 27, 2007, 07:39 AM »
f0dder, which editor have you learned to love then? Maybe it has a desert color scheme too?
"Learned to love" doesn't really apply to any editor I use, but Notepad++ does the job pretty well, and loads faster than VIM. Also, the source editor in Visual Studio is neat, especially when coupled with WholeTomato's Visual Assist (some options in the auto-complete category tend to get in my way, so I turn those off - but other are very nifty).
- carpe noctem

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Do you use a light or a dark background in your editor for programming?
« Reply #15 on: December 28, 2007, 05:28 AM »
Light on Dark, always :)

I use the asmanian2 theme for vim:
Screenshot-07_12_28,11_27_46.png

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Light on dark, of course.  You dark on lighters (hmmm... darklighters.  Where have I heard that before...) I can't figure out... the abundance of white blinds me... I severely dislike the theme for DC because of that... when I come here, I'm blinded for a few secs, LOL!

Warning... huge picture follows...

mydelphisettings.png
« Last Edit: January 11, 2008, 01:56 PM by wraith808 »

tranglos

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,081
    • View Profile
    • Donate to Member
Light on dark, of course.  You dark on lighters (hmmm... darklighters.  Where have I heard that before...) I can't figure out... the abundance of white blinds me... I severely dislike the theme for DC because of that... when I come here, I'm blinded for a few secs, LOL!

Fascinating. It just shows we see things differently :)

In your screenshot, the light grays are unreadable to me due to low contrast, I have to strain my eyes and they sink into the background. The white text, OTOH, produces a contrast that's much too high - it's readable but also headache-inducing.

I could live with the light grays, but only if using bold font, to add body to the character glyphs, and I would want to brighten them up a bit (though not to pure white).

In general, I cannot be comfortable with pitch-black backgrounds, since whatever text colors I use, the contrast is either too high or too low. Red on black or blue on black, as in some of the previously posted screenshots, is just illegible to me. I think that black tends to overpower the relatively thin squiggles of text, it seems to weaken all other colors, while white brings other colors out. Gaming sites - I can never read text on gaming sites, as they all tend to use black BG. Which, come to think of it, is probably a good thing!

On the other hand, pure white background blinds me as much as anyone. The first thing I do after reinstalling the sytem is reduce the whiteness. This is my default background, RGB 210/210/210:

2008-01-06_233734.pngDo you use a light or a dark background in your editor for programming?

Note the sparingly used syntax coloring. Apart from TextPad, the only editor I've found that lets me color the angle brackets but not their contents is EmEditor, and I love it that way. I use this color scheme everywhere, which means some funky looking websites, where the designers neglected to specify default BG color, producing a gray background with irregular patches of white. One of the easiest ways to tell crummy web design :)

And I experiment a little when using console tools. I avoid black, but also want the console to look different than regular windows (a nostalgic throwback to old-school monochrome monitors), so I've come up with these two schemes that work well for me:

My favorite shade of ink-blue:
2008-01-06_233624.pngDo you use a light or a dark background in your editor for programming?

And light gray on green is nicely legible, too, as Mouser noticed above:
2008-01-06_233555.pngDo you use a light or a dark background in your editor for programming?

(The font is Lucida Console bold)
« Last Edit: January 11, 2008, 02:56 PM by tranglos »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
That's the font I always use also... Lucida Console.  I would love to use the Raize font, but I can't get my editor to use it for some reason.  The gray isn't as bad as the white, but still a bit too bright for my tastes.  I use it sometimes, but darker than you still.

Dirhael

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 387
    • View Profile
    • defreitas.no
    • Donate to Member
I usually go with light on dark, but not black. The contrast level has to be just right though, not to high and not to low.

The theme I'm showing in my screenshot is the one I've been using for the last year or so, and it has served me very well so far :)
Registered nurse by day, hobby programmer by night.

PPLandry

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 702
    • View Profile
    • InfoQube Information manager
    • Read more about this member.
    • Donate to Member
Having studied human vision for a couple years (in another life), it is always best to have an environment with similar light levels. Otherwise, the eye has to set its adaptation level which takes 30sec to 2 min to fully adapt (i.e. entering in a cinema). The same when going from dark to light

A dark background has a light level much lower than the rest of one's environment (desk, window, paper (also white), etc), so in such situations, the human vision will be in constant adaptation between the dark screen and the rest of the environment. Not ideal at all.

I work with black text on white, partly for this reason.
Real generosity toward the future lies in giving all to the present -- Albert Camus -- www.InfoQube.biz

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
I use black on a white background. :(

I definitely prefer black text on a white background, or at least something similar - very dark on very light!

I do think the dark backgrounds look really nice, but I just find that over a period of time - especially if I am working on something for hours on end - the light background with dark text is easier on my eyes.

I wonder about this...

That said, for some reason, way back in my WordPerfect 5.1 days, their standard white text on a medium blue background was kind of easy on my eyes also.

I remember orange or green on black... ;)

Yeah. Monochrome was kind of blech!

Mostly because it is the default. Although I sometimes make is a slight shade of gray. However, I imagine using light on a dark background is better for your eyes and have often wanted to try it for an extended period of time to see if it is, but I never seem to get around to actually trying it.

Same here. I want to get other color schemes, but I just can't be bothered. Too much *unproductive* "work" there.

Anyone have anything easy to switch VS colors?

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Anyone have anything easy to switch VS colors?
I think I saw an extension/add-in/whateveryoucallit, but can't remember if it was specialized wrt. colors or if it was just a settings import/export thing... and I never found any pre-made color schemes anyway :/
- carpe noctem

johnk

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 245
    • View Profile
    • Donate to Member
Black on white or white on black give me headaches.

Way back when I had far too little to do, I experimented with background colours, and found that a gentle lemony yellow got rid of my headaches, brought  harmony to my life, and increased the chances of world peace:

emedcol.png

I'm now so used to this that I won't use a text editor if I can't vary the background colour.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Hm, that's a very slight change - I can hardly tell it from bright white. I used to use a slightly yellowish color myself as well, something still bright but softer than 3x255... just haven't gotten around to that the last X years :)
- carpe noctem