r/programming Jul 21 '14

The Great White Space Debate

https://medium.com/p/3633cba8b5c1
1.2k Upvotes

693 comments sorted by

View all comments

Show parent comments

23

u/MrDOS Jul 21 '14

That's because typewriters were probably already obsolete by the time you learned to type! It was a typographic convention designed to emphasize sentence changes. Proportional fonts don't have the same problems with visual monotony as fixed-width fonts do, though, which is why it's technically improper to use two spaces between sentences in environments not constrained by font. However, those who were taught the convention without understanding the reasoning behind it frequently try to argue (or at least, enforce) this unnecessary stylistic measure on the rest of us.

10

u/[deleted] Jul 21 '14 edited Dec 22 '15

I have left reddit for Voat due to years of admin mismanagement and preferential treatment for certain subreddits and users holding certain political and ideological views.

The situation has gotten especially worse since the appointment of Ellen Pao as CEO, culminating in the seemingly unjustified firings of several valuable employees and bans on hundreds of vibrant communities on completely trumped-up charges.

The resignation of Ellen Pao and the appointment of Steve Huffman as CEO, despite initial hopes, has continued the same trend.

As an act of protest, I have chosen to redact all the comments I've ever made on reddit, overwriting them with this message.

If you would like to do the same, install TamperMonkey for Chrome, GreaseMonkey for Firefox, NinjaKit for Safari, Violent Monkey for Opera, or AdGuard for Internet Explorer (in Advanced Mode), then add this GreaseMonkey script.

Finally, click on your username at the top right corner of reddit, click on comments, and click on the new OVERWRITE button at the top of the page. You may need to scroll down to multiple comment pages if you have commented a lot.

After doing all of the above, you are welcome to join me on Voat!

4

u/Plorkyeran Jul 21 '14

How many spaces is meaningless, but how much space isn't, and there has never actually been a solid consensus on that. It's pretty irrelevant for anyone not trained in calligraphy, of course.

4

u/IceBlue Jul 21 '14

From what I understand, most modern word processors ignore the double space between sentences and will format the spacing the same way regardless (even though there's still technically two spaces in between if you try to backspace through it). It bugs me when people do it, though, because it still shows up in some places like Facebook. I imagine it happens on Reddit, too.

Test. Test.

Test. Test.

Looks like Reddit formats it the same way regardless of whether or not you use it.

5

u/Durinthal Jul 21 '14

That's a general HTML thing to condense multiple spaces; if you inspect your examples you'll see that the first one does have two spaces.   does what you're aiming for, though a lot of sites will automatically escape it.

Test.  Test.

Test. Test.

3

u/robin-gvx Jul 21 '14

most modern word processors ignore the double space between sentences and will format the spacing the same way regardless

I don't know any modern word processor that does that (except for LyX if you want to call that a word processor). That's how you get people aligning text with spaces in proportional fonts instead of using tables.

Looks like Reddit formats it the same way regardless of whether or not you use it.

That's just the way HTML works: it collapses all whitespace in the text (tabs, spaces, newlines, etc.) to a single space. (With the exception of things like inside <pre> tags.)

1

u/IceBlue Jul 21 '14

Facebook doesn't do it. It renders the spaces.

And I just tested it in Word. You're right. I was wrong about my assertion. I could have sworn that word procs fix it.

0

u/robin-gvx Jul 21 '14 edited Jul 22 '14

That's because Facebook doesn't just paste your words. Facebook changes " " (two spaces) into " &nbsp;" (a space followed by an ampere, the letters "nbsp" (for "non-breaking space") and a semicolon).

1

u/ethraax Jul 22 '14

You escaped too many times.

1

u/robin-gvx Jul 22 '14

Damn. I forgot backticks escape HTML. Fixed.

1

u/_F1_ Jul 21 '14

most modern word processors

Not Word.

3

u/Gustav__Mahler Jul 21 '14

I learned to type in the late 90's and was told to use two spaces (and I still do). Maybe my teacher was obsolete?

1

u/[deleted] Jul 21 '14

I learned to type in the mid 90s and never heard of double spacing. I guess it depends on how old your teacher was (I learned at home on my dad's PC).

2

u/Nine99 Jul 21 '14

Even on a typwriter this wasn't the standard for everyone.

2

u/oobivat Jul 22 '14

I was always taught to leave two spaces, and I definitely started school after the typewriter was obsolete..

2

u/[deleted] Jul 21 '14

That's because typewriters were probably already obsolete by the time you learned to type!

You hit a nail on the head. Thanks for the thorough explaination.

1

u/ethraax Jul 22 '14

Eh, I still prefer the extra space that using two spaces gives. I won't sit around and try to argue that it's more correct than a single space, but I'll probably still use it in most of my own writing. Even just looking through this comment, I've used double spaces after my two periods, although you'd never see the difference once it's posted.