Sentence Spacing — 1 Space or 2?
An anonymous reader noted an epic battle is waging, the likes of which has not been seen since we all agreed that tab indenting for code was properly two spaces. He writes "Do you hit the space bar two times between sentences, or only one? I admit, I'm from the typewriter age that hits it twice, but the article has pretty much convinced me to change. My final concern: how will my word processor know the difference between an abbr. and the end of a sentence (so it can stretch the sentence for me)? I don't use a capital letter for certain technical words (even when they start a sentence), making it both harder to programmatically detect a new sentence and more important to do so. What does the Slashdot community think?"
we all agreed that tab indenting for code was properly two spaces
Say what?!?? Who made that decision? In the java world, 4 spaces is pretty standard.
"No matter where you go, there you are." -- Buckaroo Banzai
Well fuck you too, then.
sic transit gloria mundi
[Insert one thousand opinions here]
The only one that matters: Is it still readable?
We have bigger problems in the world than "one space or two" ... for example, people's atrocious speling.
#fuckbeta #iamslashdot #dicemustdie
I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.
Two spaces are appropriate for typewriters and similar monospaced fonts (Courier, Monaco, Andale Mono, Consolas, Vera, Deja Vu mono)
One space for proportional fonts (Times, Helvetica, almost everything.)
It depends on the font. If it is monospaced (such as on a typewriter) it should be two spaces. If you are using a proportional font, use one space.
"Remember, there never were pineapple-almond cookies here."
It's easier for a human to determine sentence structure when sentences are set apart by two spaces, too.
I always put 2 spaces at the end of a sentence. Oddly, though, I've noticed that when I type, if it's a space between words I use my right thumb. For the end of my sentence, I use my left one. Something I didn't even realize I did until about 6 months ago, and I've been doing this for about 20 years!
What is popular is not always right; what is right is not always popular.
Seriously, dude. We're starting to worry about you.
The Mac is not a typewriter not only lays down guidelines, but explains the logic behind them, such as why punctuation should be hung, why there should not be two spaces after periods, why text set in all caps should be avoided.
If your word processor is using the whitespace that you enter, rather than typesetting your text according to whatever your style rules define, you need to get a new word processor. I tend to use two spaces at the end of a sentence, because I tend to edit text in monospace and it gives me a clear visual break between sentences, but that doesn't mean that I expect two spaces in the typeset output - even a web browser is more intelligent than that. Generally I find around 1.2-1.4 gives maximum readability. You want a slightly larger gap between sentences than between words, but double the width of a normal space gives too large a gap for easy reading. Of course, the width of a single space varies slightly from line to line when typesetting justified text.
I am TheRaven on Soylent News
Use LaTeX (especially if you're typing technical things), then you won't have to worry about it. Type what you mean, and let the typesetter and styles handle the details.
(I should note that if have a period followed by space that isn't a new sentence or a or a period following a capital letter that is, in which case you'll need to mark up the period with \ or @ to let it know, but these are generally fringe cases.)
R.Mo
During the early area of the internet (around 1990) i held courses and taught new users, how to use the "blank" correctly. Rules were:
People who didn't followed the rule were convicted for excessive blanking.... at least here in germany.
CU, Martin
Myself, I'm a two-space typer. My finger know a sentence-ending period is followed by two spaces and they just do it. However, in certain formats, such as HTML, white space is ignored anyway and then formatted by the format-processor (obviously a web browser in the case of HTML).
While I'm a two-spacer, the medium in which we type is largely making this a moot point.
-geis
This diverging discussion is the perfect example of why it is clear the ideal code indentation is a TAB. Set your editor to display whatever indentation width you like, don't expect to inflict that choice on everyone else. Plus it eliminates the possibility of sloppy partial indentations, and it's fewer keystrokes to boot. Win, win, win.
So I started reading this, thinking oh this sounds interesting to ponder. And then I got about halfway through the wiki entry and realized, ok no it's not. I learned with two spaces. Let me know when the discussion is done and I'll just do that.
I will shred my adversaries. Pull their eyes out just enough to turn them towards their mewing, mutilated faces. Illyria
Ask "Should I use spaces or tabs for newlines?"
3. Hang out and serf web.
4. Discussion settled? Ask "Should there be brackets around code even if there's only one line? Like this:
If( foo == true)
a=x;
Or is it:
If( foo = true)
{
a=x;
}
sit back and surf web for a few more hours.
RIP America
July 4, 1776 - September 11, 2001
Ever since proportional fonts came to the desktop, people have found it hard to decide whether they are 'typing' or setting type. (eventually, in the DTP era, there was even a book, The Mac is not a Typewriter).
In typesetting, all word spaces are treated equal (except by TeX, which implements a more typewriter-like convention after periods; it also subtly modifies spacing after commas, semicolons too). This may also be a European/North American distinction, similar to the spaced-en-dash versus unspaced-em-dash convention.
TeX, and the TeXbook, are where many geeks from the CS side of the fence got their first typographic exposure and education. Some of Knuth's aesthetic decisions, like this one, do smell a bit funny to professional typographers. But his implementation of math setting is probably close to definitive (damn it Jim, I'm a typographer not a mathematician).
Wait till they find out that German uses letterspacing for boldfacing, and that it used to be normal practice to have thin spaces before punctuation, etc, etc... The study of typographic conventions is easily a life's work.
you had me at #!
<posting target-moderation="funny">
<sentence tone="exclamation">silly boy</sentence>
<sentence>you <contraction>should not</contraction> be mixing content with layout</sentence>
<sentence>use an <acronym>extended markup language</acronym> schema that removes the ambiguity and allows the viewer to determine <alternative-list><item>his</item><item>her</item></alternative-list> preferred layout and punctuation <aside>or even see it presented in <abbrev>text message</abbrev>format allowing accessibility by teenage people</aside> </sentence>
</posting>
In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
Find: ".__"
Replace "._"
Find morse code W and replace with morse code A? Ahy aould I aant to do that? (bad) fake british accent?
"Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
...was properly two spaces."
Like hell we did.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
If you read the question, we're talking about text, not code. I couldn't care less what you do with your code; however, as a professional writer, the new standard is one space.
If you really want to get into the the theory behind it, it's actually quite simple. We now use one space to avoid "rivers of white" in text. In short, if you look at a sample of documents that have been double spaced after the punctuation, you'll start to notice lines of white that run throughout the document. This distracts the reader and lowers the readability of the document. In typewriter days, two spaces made a lot of sense. Due to the large variation of widths in characters, it helped keep a more uniform space between sentences. With modern word processors and fonts, the need for the double space as been eliminated.
Now, when you get into typography and design, you're dealing with aesthetic and this will vary on a case by case basis. Letter spacing, kerning, and leading all come into play and it's less about the number of spaces you use and more about how you're using your spaces. In coding, I could see the use for even more than two spaces.
*NOTE* - It might seem contradictory that I'm advocating single spacing, yet I've double spaced between all my sentences. I'm an old school typewriter guy and old habits die hard. This is why modern technology is so great. I have all of my software set to only allow single spacing between sentences. I always do document searches for double spaces. All of my professional writing goes out single spaced. All of my personal writing goes out double spaced, completely out of laziness.
Wise men say, "Forgiveness is divine, but never pay full price for late pizza."
Not only that, they're so bad I can't even see the apostrophe in your sentence.
One of the many deficiencies of HTML.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
Three is the number of the counting, and the counting of the number shall be three.
When the "Fifteenth Edition of The Chicago Manual of Style" (the bible on grammar) came out around eight years or so ago, the authors were on WGN radio in Chicago promoting the book and taking questions. Someone called in asking this very question about one or two spaces at the end of a sentence (I wanted to call and ask the same question). The authors were very clear, one, even for mono space fonts.
If you are doing type setting, by all means use 1 spaces. But as you cut and paste your texts into different programs, you may be pasting into different default type faces. Sometimes it's proportional and sometimes it's monospaced. So why not use 2 spaces to be on the safe side? It's simple to programmatically replace 2 spaces by 1 space any way, if necessary. Let's be considerate of our readers rather than swear allegiance to a rule learnt in our youth.
Notice when you read shit on the internet it is single spaced after punctuation, and not double spaced?
That's only because HTML decided that consecutive whitespace should be compressed to a single character. I may put two spaces after full stops followed by new sentences, but I'm not going to make one of them to (try to) force it.
HTML, also by not employing indentation at the start of paragraphs by, has steered people toward double-spacing between paragraphs. Print media prefers not to waste the line between paragraphs and sticks with indentation of the first line of paragraphs. Books tend to reserve double spacing between paragraphs for a change of scene within a chapter, and if it occurs at a page break, a line with one to five asterisks, spaced, is employed, on whichever page it will fit.
Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
End of discussion.
Awesome.
Next topic: emacs or vi.
I am not a crackpot.
Slashdot doesn't strip the spaces, your browser's HTML parser does. <-- There's two spaces there, look at the source.
<xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
<paragraph>
<sentence>
<word>The</word>
<word>only</word>
<word>way</word>
<word>to</word>
<word>fix</word>
<word>this</word>
<word>is</word>
<word>with</word>
<word>XML</sentence>
<sentence>
<word>Totally</word>
<word>human</word>
<word>readable</sentence>
</paragraph>
As far as efficiency is concerned -WTF- people have a data density that they want in their communications, as the extra space allows for some time to comprehend the data, assuming that the reader is maintaining a pace.