I can't explain why, but for me prose is easier to read on a light background and code is easier to read on a dark background. I imagine it has something to do with proportional fonts vs. monospace fonts and how the eye distinguishes the characters.
Edit: I think it may also have to do with the ability to distinguish colors used in syntax highlighting.
Edit: I think it may also have to do with the ability to distinguish colors used in syntax highlighting.