Slashdot Mirror


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?"

814 comments

  1. False assumption by tedgyz · · Score: 4, Insightful

    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
    1. Re:False assumption by biryokumaru · · Score: 2, Informative

      Microsoft used to be pretty fond of 8 spaces... that was painful...

      --
      When you're afraid to download music illegally in your own home, then the terrorists have won!
    2. Re:False assumption by conteXXt · · Score: 4, Informative

      I think this is the joke.

      --
      The truth about Led Zep should never be told on /. (Karma suicide ensues)
    3. Re:False assumption by DrLov3 · · Score: 1

      Ho! G0D, I didin't get that memo, I still use 3.

    4. Re:False assumption by gabereiser · · Score: 0

      haha, this made me laugh... there's always a war between the developers here at work on whether to use spaces or tabs...

    5. Re:False assumption by Anonymous Coward · · Score: 0

      Whoosh!

    6. Re:False assumption by Lunix+Nutcase · · Score: 1

      I think you need to get your sense of humor fixed. It appears to be broken.

    7. Re:False assumption by chebucto · · Score: 5, Funny

      It's a well-known fact that God uses 3-space tabs. I don't want to go to hell, so that's what I use, but your eternal soul is your own call, buddy.

      --
      The English word fart is one of the oldest words in the English vocabulary.
    8. Re:False assumption by JThaddeus · · Score: 1

      Google's guidelines for code contributions calls for 2 spaces.

      --
      "Love is a familiar; Love is a devil: there is no evil angel but Love." --William Shakespeare ('Love's Labors Lost')
    9. Re:False assumption by Anonymous Coward · · Score: 0

      I type backslash T every time I indent. You noobs and your wysiwyg programs, Im sticking with my out of date acronyms and multimedia PC.

    10. Re:False assumption by Rary · · Score: 1

      Google's guidelines for code contributions calls for 2 spaces.

      It's also in the Green Book.

      --

      "You cannot simultaneously prevent and prepare for war." -- Albert Einstein

    11. Re:False assumption by Wolfraider · · Score: 0

      4 spaces
      2 spaces doesn't offset the code enough for me to see it well
      8 spaces uses up too much real estate
      so 4 spaces it is

    12. Re:False assumption by Cryolithic · · Score: 5, Insightful

      The linux Kernel is (was?) 8 spaces. The idea between 8 space tabs is that if your code is indented so far as to be a pain to read, then you should probably look into why it's so nested.

    13. Re:False assumption by CaptnMArk · · Score: 1

      Kernel is 1 tab, which is always 8 spaces. This is completely different from 8 space indent.

    14. Re:False assumption by corbettw · · Score: 1

      Thanks, Rainier.

      --
      God invented whiskey so the Irish would not rule the world.
    15. Re:False assumption by SilverHatHacker · · Score: 1

      I code in Python, you insensitive clod! Don't talk to me about indenting!

      --
      Funny may not give karma, but +5 Informative never made anyone snort coffee out their nose.
    16. Re:False assumption by Tubal-Cain · · Score: 1

      I use kate with a four-space tab.

    17. Re:False assumption by bcat24 · · Score: 2, Interesting

      However, Google also says that Android code should use four-space indents.

    18. Re:False assumption by Anonymous Coward · · Score: 0

      Why not have a compromise of a 6-space indent? Or if you're in the war of 2 spaces vs. 4 spaces, why not use 3 spaces? Why must everything be a power of two?

    19. Re:False assumption by ronocdh · · Score: 3, Informative

      The best jokes are never understood on first telling.

      Back to the subject at hand, however, why not consult the Chicago Manual of Style? To cut to the chase:

      So, in our efficient, modern world, I think there is no room for two spaces after a period. In the opinion of this particular copyeditor, this is a good thing.

      Seems pretty reasonable to me, and it's from quite a credible source. Read the full page for justification (no pun intended).

    20. Re:False assumption by fuzzix · · Score: 1

      haha, this made me laugh... there's always a war between the developers here at work on whether to use spaces or tabs...

      So get someone higher to publish a mandatory coding standard... advised by you, of course.

    21. Re:False assumption by rickb928 · · Score: 2, Informative

      ASCII back when there was 'just' ASCII, was an 8 space tab. MS adopted that where it was needed, and in my world, 8 spaces for a tab is standard.

      If you're just indenting, whatever you like. If your envirenment or prefers a different standard, either adopt it or be prepared to cause problems.

      I tend to indent 1 or 2 spaces, because I can make sense of it. But some editing software has its own ideas.

      And this is not the most important topic for us to consider.

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    22. Re:False assumption by R.Mo_Robert · · Score: 1

      Or if you're in the war of 2 spaces vs. 4 spaces, why not use 3 spaces?

      I had a professor who did and insisted we did too, except files he sent us always had mixtures of real spaces and tabs. I still have painful memories of that class.

      --
      R.Mo
    23. Re:False assumption by Obfuscant · · Score: 4, Informative
      ASCII back when there was 'just' ASCII, was an 8 space tab.

      ASCII when there was just ASCII had a tab character which was commonly interpreted as "tab to the next multiple of 8 column". If you were in column 4, a tab would not look like 8 spaces, it would look like 4 spaces.

      On the keypunch I used, TAB meant "advance to the next tab column as indicated on your drum card." For FORTRAN, that meant the first tab skipped to column 2 (line number), the next tab to column 6 (continuation), the next to 7, a few every four spaces, and then off to column 72 (card number).

      Every reasonable typewriter I used had tab stop settings so you could define what columns a tab took you to.

      If your envirenment or prefers a different standard, either adopt it or be prepared to cause problems.

      Thus was created "indent", which converts code from all those other people's atrocious formatting styles into your preferred on and back.

    24. Re:False assumption by confused+one · · Score: 1

      Huh? I've always used 4 space tabs.

    25. Re:False assumption by Chris+Burke · · Score: 1

      I don't care what spacing you feel is best, do whatever you think is most legible or efficient or whatever, so long as you don't use real tabs. Because using real tabs is basically like taking a giant runny shit all over your own preference, and guaranteeing that your code looks like unreadable ass to many other people.

      Spaces, not tabs. As long as we can agree on that, I'm happy with whatever.

      --

      The enemies of Democracy are
    26. Re:False assumption by Anonymous Coward · · Score: 0

      actually, to be more clear, he just did a ":set ts=3" in his .vimrc

    27. Re:False assumption by Anonymous Coward · · Score: 0

      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.

      ... wait ... it's NOT 3 spaces?!? crap.

    28. Re:False assumption by AltairDusk · · Score: 1

      What's wrong with 8?

    29. Re:False assumption by Anonymous Coward · · Score: 1, Insightful

      I really don't see the justification for arguing the space equivalent of a tab - the whole point is so that everyone can set their tabstop however they prefer and not impose their particular preferences on anyone else.

      Using spaces is as antisocial as encoding your editor's syntax highlighting into the source code as a bunch of ASCII control codes.

    30. Re:False assumption by pbrooks100 · · Score: 1

      Spaces?! What Spaces?!

      I code in LabVIEW; we don't use no stinking spaces (unless communicating with OLD programming languages).

    31. Re:False assumption by tsm_sf · · Score: 1

      Anyone who's had a paper returned because their citation section had a misplaced comma or period can tell you exactly how meaningful and important style guides are ("not at all" and "more than your thesis", respectively). The trick is to be able to choose a style that matches your writing ;)

      Seriously though, if you're writing for publication the editor will change whatever stylistic choices you've been brought up with to whatever they've decided on anyhow, so why even worry about it? I'd be more concerned that most professional writing sucks ass.

      --
      Literalism isn't a form of humor, it's you being irritating.
    32. Re:False assumption by by+(1706743) · · Score: 1

      $ grep Tabs /usr/src/linux/Documentation/CodingStyle
      Tabs are 8 characters, and thus indentations are also 8 characters.
      $

    33. Re:False assumption by HiThere · · Score: 2, Interesting

      I code in Python too (among other things) and I ALWAYS use tab indents with the tab usually being set to 3 spaces for display purposes. (But if the code is deeply nested I may reset the display so that one tab == 2 spaces.)

      OTOH, code deeply nested enough to require reseting the display is also deeply nested enough to be considered for refactoring.

      N.B.: I use the same indentation whatever language I'm programming in at the moment. Python isn't a special case. (OTOH, this means I never use IDLE.)

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    34. Re:False assumption by Anonymous Coward · · Score: 0

      With tabs each person can set their tabstop however they want. Space-users are antisocial and have to resort to bullying others into using their own preference on the number of spaces. And they kill puppies.

    35. Re:False assumption by Civil_Disobedient · · Score: 5, Insightful

      So, in our efficient, modern world, I think there is no room for two spaces after a period. In the opinion of this particular copyeditor, this is a good thing.

      Efficiency has nothing to do with it. In fact, efficiency is a complete red-herring, since presumably in our efficient, modern world we could simply write software to be intelligent enough to automatically add a space between sentences when it detects a period-space-word starting with a capital letter.

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. If you only use a single space to delineate words and sentences, all paragraphs merge into a jumble. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

      and it's from quite a credible source

      An appeal to authority is less argumentatively valid than an appeal to reason. The Chicago Manual of Style gives no reason except some hand-waiving about our "efficient, modern world," which is a huge, steaming pile of bunkum.

    36. Re:False assumption by Anonymous Coward · · Score: 0

      You have started working in the field less than a week ago. Wonder how I know this? This still makes you laugh.

    37. Re:False assumption by Chris+Burke · · Score: 2, Informative

      With tabs each person can set their tabstop however they want.

      And if they want it to look right, they need to set it to exactly what the original author did. Every time you decide to break up a line of code, you're making a decision that locks the reader into a particular spacing in order to have legible code.

      Do you want to have legible code? Yes? Use spaces then. And if you can't handle reading code that doesn't use your "preferred" spacing, then it is you, not the code author, who has the puppy-killing control issues.

      --

      The enemies of Democracy are
    38. Re:False assumption by afabbro · · Score: 3, Insightful

      Kernel is 1 tab, which is always 8 spaces. This is completely different from 8 space indent.

      Thank you. People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.).

      If you use spaces instead of tabs, I'm going to have to take two seconds to run some elisp to fix it ;-)

      --
      Advice: on VPS providers
    39. Re:False assumption by Anonymous Coward · · Score: 0

      in our efficient, modern world, I think there is no room for two spaces after a period.

      No room is the best they can come up with? Buy a terabyte drive. Upgrade from that 10Mbps ethernet. In our modern world, room is one of the very least of anyone's worries.

    40. Re:False assumption by ronocdh · · Score: 2, Insightful

      Efficiency has nothing to do with it.

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

      Please explain why you used one space between all sentences in your post.

    41. Re:False assumption by fredjh · · Score: 1

      Yeah.

      I like python. A lot. But a lot of the language seems to have been motivated by the authors wanting people to use their style.

      --
      Stupid, sexy Flanders.
    42. Re:False assumption by Anonymous Coward · · Score: 0

      Why is your comment so deeply nested?

    43. Re:False assumption by dsavi · · Score: 1

      It was a troll. Ignore it.

    44. Re:False assumption by amorsen · · Score: 1

      And if they want it to look right, they need to set it to exactly what the original author did. Every time you decide to break up a line of code, you're making a decision that locks the reader into a particular spacing in order to have legible code.

      No. You indent by tabs to the correct level, and add spaces for effect afterwards where necessary. Even if you end up adding more spaces than a tab width. That way it looks right no matter the tab width.

      --
      Finally! A year of moderation! Ready for 2019?
    45. Re:False assumption by BasilBrush · · Score: 4, Informative

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences

      That was the reason in the days of typewriters. And it continues to be the reason if you are writing in a text editor using a monospaced font. But a word processor will space a document properly, such that the space between sentences IS wider than a space between words.

    46. Re:False assumption by BitZtream · · Score: 1

      Lets go ahead and make this a full fledged argument for the dense.

      If you are using spacing for column alignment your just ignorant.

      Its not a matter of preference really, its a matter of ignorance.

      Tabs can be 1 space or 20 or 4 or 8 or 2. Spaces can be spaces, there is no flexibility.

      Using a space to indent is like using hard coded text when you should have used a define.

      It shows a true lack of experience. I stand behind that statement, regardless of how many lines of 'kernel code' you've written.

      As for sentences ... well ... just because the stupid fucks who made the first web browsers were illiterate doesn't mean its acceptable. 2 spaces between sentences to make it clear that its a new sentence and a new thought, far easier to read.

      Of course, before you get down to the matter of 1 space or 2, you should probably conquer the problem of no one being able to write a coherent sentence or complete a thought without running on like this one.

      The 1 or 2 space 'issue' will be far less of an issue when you learn how to write properly in general as it will become obvious as to why it exists.

      You also end up with a lot fewer silly looking posts like this.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    47. Re:False assumption by Gilmoure · · Score: 0, Offtopic

      Toenails, on the other hand, never grow at all.

      --
      I drank what? -- Socrates
    48. Re:False assumption by networkBoy · · Score: 5, Informative

      because HTML is broken. There is two spaces after the preceding period but you can not see them.Now you can because I used   tags. (no you can't because /. is broken and does not render the tag properly...)

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    49. Re:False assumption by Dynedain · · Score: 1

      Please explain why you used one space between all sentences in your post.

      He may have used two spaces. HTML display specs require all whitespace be reduced to only a single character unless you specifically insert the non-breaking space   entity.

      --
      I'm out of my mind right now, but feel free to leave a message.....
    50. Re:False assumption by number6 · · Score: 2, Informative

      Thank you. People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.).

      If you use spaces instead of tabs, I'm going to have to take two seconds to run some elisp to fix it ;-)

      Problem with tabs is when you're lining up code on multiple lines (e.g., variables, where many people use whitespace between the type definition and the name to line up the names), a different tab size breaks the alignment. You either have to force everyone to use the same tab size, or suffer ugly code.

      If you're aiming to keep line length down (back in the days of 80 character displays), switching between tab sizes could cause code to become an unreadable wrapped mess if it'd been written using 2 space tabs (and fitted nicely into the editor window) and you viewed it with 8 space tabs (at which point it no longer did).

      These days it's almost irrelevant. Most IDEs allow you to reformat the whole file with a single keypress to whatever style you want. Then reformat back to project standard before submitting to source control.

      --
      I'm a number, not a free man!
    51. Re:False assumption by shutdown+-p+now · · Score: 1

      If you use unknown-width tabs for indenting, you can't line up comments, variable names in declarations, assignments etc (well you can, but they will only stay lined up when tabs are of a particular size). Sometimes those kinds of things can be helpful. In some languages, which use indentation/layout to denote structure - e.g. Haskell and F# - it is crucial.

    52. Re:False assumption by Anonymous Coward · · Score: 0

      Google's guidelines for code contributions calls for 2 spaces.

      That's interesting. I had to stop using double spaced, because Gmail was converting the second space into a non-ASCII character which was getting converted into some other ASCII character when quoted making my e-mail look like a mess. I'm guessing it was some kind of half space thing. It also didn't cut and paste right. So now I try to single space, but 25 years after taking typing, it's very hard to change.

    53. Re:False assumption by MisterZimbu · · Score: 1

      He used two. Web browsers tend to reduce anything with more than one space to a single space.

      Two spaces:
      Blah. Blah.

      Single space:
      Blah. Blah.

    54. Re:False assumption by Korin43 · · Score: 2, Informative

      They probably have Slashdot set to "HTML Formatted", so any whitespace is converted to one space. Example: Look at the source for this post.

    55. Re:False assumption by xfurious · · Score: 1

      Yeah, wtf-- there is no agreement on how to indent code. Personally I used to use 8 spaces but realized that 4 spaces is much nicer while still being visibly indented. Two space indentation looks retarded.

    56. Re:False assumption by PalmAddict · · Score: 1

      Because HTML by default removes all additional spaces.To have more than one space it is necessary to type: & nbsp; (without the space) to force a non-breaking space, and even then Slashdot removes them for you anyway. Slashdot hereby mandates 1 space. You shall all now fall in line or be end-of-lined.

    57. Re:False assumption by Anonymous Coward · · Score: 0

      Who modded this up to +5? He used two spaces, you can see it if you view source on his message. It was never normal to use two spaces in print, so HTML removes the extra spaces unless you use preformatted (typewriter-like) text.

    58. Re:False assumption by xfurious · · Score: 1

      I agree on spaces being antisocial. However the size of the tab stop affects the alignment of the code. If you write in with 4-space tabs and then view it with 8-space tabs, things will be out of line. Not to mention occasionally you need to line up to something not on a tab boundary, and if you use spaces it will gunk it up more.

    59. Re:False assumption by Anonymous Coward · · Score: 0

      Silly me, I just use the tab character. The author should not care about the rendered space.

    60. Re:False assumption by onefriedrice · · Score: 2, Interesting

      Efficiency has nothing to do with it.

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

      Please explain why you used one space between all sentences in your post.

      Don't browsers generally reduce white space to a single space?

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    61. Re:False assumption by cfulmer · · Score: 2, Insightful

      Computers really aren't very good at figuring this stuff out -- how would it space "Mr. Smith" or "Prof. Jones" or "M. Chevalier"?

      Personally, I'd rather have the computers figure out "Oh... period followed by two spaces followed by Capital letter. Must have started a new sentence" and correct appropriately.

    62. Re:False assumption by Anonymous Coward · · Score: 0

      He uses two spaces (look at the HTML source).

      But in HTML any amount of white space is equivalent to one space, unless you use

    63. Re:False assumption by Anonymous Coward · · Score: 0

      I seem to remember an old rule (old in computer years) that said to use two spaces when the font is monospaced, otherwise one space. This rule is rarely followed these days, though, it seems.

    64. Re:False assumption by Chris+Burke · · Score: 2, Informative

      No. You indent by tabs to the correct level, and add spaces for effect afterwards where necessary. Even if you end up adding more spaces than a tab width. That way it looks right no matter the tab width.

      And then they set their tab width to something less than you did, and then the next level of indentation is indented less than your split line. It no longer looks right, it now looks the opposite of right, as in wrong.

      Tabs break things. If you use any tab stop other than exactly 8 spaces, and mandate that everyone else does to, you will break code formatting for someone, somewhere (terminals and line printers use 8-space tabs). And mandating 8 space-tabs breaks the alleged "advantage" of tabs in the first places.

      Tabs are broken. Spaces are the only way to ensure anyone viewing your code will see it correctly formatted. This is vastly more important than being able to tailor other peoples' code to your preference.

      --

      The enemies of Democracy are
    65. Re:False assumption by pdjohe · · Score: 4, Funny

      Just set your slashdot comment setting to code.  Then you can get two spaces with all their glory.

      And you'll get monospaced characters also.  Speaking of which, comments in code are monospaced.  Are two spaces after a sentence more correct there?  Personally, I think it looks too expanded.

    66. Re:False assumption by qengho · · Score: 2, Informative

      Please explain why you used one space between all sentences in your post.

      He actually used two spaces. Unfortunately for him, browsers collapse multiple spaces into one. He lacks commitment; a true Double-Spacer would have used two non-breaking spaces.

    67. Re:False assumption by Thinboy00 · · Score: 1

      Thus was created "indent", which converts code from all those other people's atrocious formatting styles into your preferred on and back.

      Here's what I did when I read this:

      $ whatis indent
      indent: nothing appropriate.
      $ apropos indent
      $ indent
      sh: indent: not found
      $ aptitude show indent
      Package: indent
      State: not installed
      Version: 2.2.10-2
      Priority: optional
      Section: devel
      Maintainer: Ubuntu Developers
      Uncompressed Size: 512k
      Depends: libc6 (>= 2.4), dpkg (>= 1.15.4) | install-info
      Description: C language source code formatting program
        The `indent' program changes the appearance of a C program by inserting or
        deleting whitespace.

        `indent' also provides options for controlling the alignment of braces and
        declarations, program indenting, and other stylistic parameters, including
        formatting of both C and C++ comments.
      Homepage: http://indent.isidore-it.eu/beautify.html

      What an enormous waste of time... how that got up to 512K I'll never know. (Okay, fine, 512K isn't that much in this day and age, but just think, someone had to write all that.)

      ObTopic: Wikipedia doesn't care how many spaces you use.

      --
      $ make available
    68. Re:False assumption by Anonymous Coward · · Score: 0

      Probably because the HTML browser collapsed the continuous white space to a single space (and they were were unable to or forgot to insert a non-breaking space).

    69. Re:False assumption by Traa · · Score: 4, Insightful

      People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.). If you use spaces instead of tabs, I'm going to have to take two seconds to run some elisp to fix it ;-)

      People who indent with tabs should be shot. Indent with spaces all you want and I can view it the way IT WAS WRITTEN.

      There, fixed that for you.

      Really, using tabs only works in theory. You need to be pretty anal to never ever layout anything using spaces or the tabs argument breaks down. God forbid I line up some stuff to make it more readable.

      Yeah, yeah...this is religion to some. My argument is as moot as yours. Kinda what I'm pointing out.

    70. Re:False assumption by Peach+Rings · · Score: 2, Insightful

      You can't just pick your own indent convention. Things get incredibly painful when people use editors that auto-indent to different widths.

    71. Re:False assumption by zill · · Score: 1
      You are entitled to your opinion, but sometimes it is completely irrelevant to the discussion at hand. In most cases a programmer does not have a choice on using spaces or tabs for indentation - their company coding style guidelines or FOSS project coding style guidelines completely determines that.

      The "older" standard is only tabs for indentation - You and Linus belongs in this camp:

      Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

      The "newer" standard is using spaces because the newer generation of developers are used to IDEs that does not handle vi and emacs style mode line well. Mozilla's code style guidelines is a prime example of this:

      Indentation
      Two spaces per logic level.

      I, for one, would really rather the Firefox developers not be shot.

    72. Re:False assumption by Frozen-Solid · · Score: 1

      Please explain why you used one space between all sentences in your post.

      Because HTML rendering automatically removes extra white space beyond the first spce. If you type in two spaces, as I have here, it will automatically truncate when rendering down to one space. If you want HTML rendering the spaces properly you have to tell it to.

      --
      Frozen Insanity
      http://frozen-solid.net
    73. Re:False assumption by Chris+Burke · · Score: 1

      Thank you. People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.).

      And the way you view it, if different than mine, will be broken and badly formatted and it won't be my fault, but yours.

      How many characters wide is your screen? How many levels of indentation can you have, or how many intelligently-named variables can you have in a single if(), before you need to reformat the code (by using a multi-line if() for example)? Well, depending on how you use tabs and how wide your screen is, then my code could wrap well past your screen, or the next level of indentation could be before the second line of the if(). The code looks bad.

      Correct and consistent formatting across viewing platforms and viewers is more important than each viewer being able to see it the "way they want". Why is "the way you want" to have exactly N spaces, and not to see the code as everyone else sees it, properly formatted as the author intended?

      There's two basic aspects that inform code formatting:
      1) page width
      2) indent amount

      The choice of where to break lines does not scale as a constant ratio of these two factors. That is why tabs -- at least, tabs that you change to suit your preferences rather than to an agreed upon value (which would be 8) -- cannot result in uniformly good formatting.

      --

      The enemies of Democracy are
    74. Re:False assumption by molo · · Score: 1

      Because HTML renderers compact whitespace. You would have to use   to do otherwise, which is a fucking pain in the ass.

      -molo

      --
      Using your sig line to advertise for friends is lame.
    75. Re:False assumption by Quirkz · · Score: 1

      They do. I spend a year arguing on and off with a design firm copy editor about it. (This is back in '98, when they'd been doing print for years and were just starting web.) She kept telling me to add two spaces after all the sentences, and didn't want to believe me that it was out of my control.
      She also got really fussy about commas after italicized words, where the choice was either to make the comma also italic and not have some extra space, or to make the comma not italic, and live with the additional little space the browser would insert.

    76. Re:False assumption by Chris+Burke · · Score: 1

      Yeah, yeah...this is religion to some. My argument is as moot as yours. Kinda what I'm pointing out.

      Naw. How much to indent is a pointless religious argument. How wide the screen should be is pointless. Curly braces for new blocks on the same line as the if() or method declaration or their own line is a similar issue.

      However, all those other issues are only unimportant arguments if you can get consistent formatting from the result by using spaces and not tabs.

      It's pretty much the only argument that matters. :P

      --

      The enemies of Democracy are
    77. Re:False assumption by Chris+Burke · · Score: 1

      Thus was created "indent", which converts code from all those other people's atrocious formatting styles into your preferred on and back.

      Indent only indents, it doesn't insert or delete newlines or insert whitespace where needed to line things up for clarity. Ergo it fails at its job, as do tabs.

      --

      The enemies of Democracy are
    78. Re:False assumption by Anonymous Coward · · Score: 0

      Moderation is broken if you received +5 insightful for that comment. Good grief. Are you new to the Web?

    79. Re:False assumption by Anonymous Coward · · Score: 0

      HTML renderers compact white space into one space unless there are explicit directives to do otherwise. I'm using two spaces between these sentences, but you won't see it that way.

    80. Re:False assumption by Anonymous Coward · · Score: 0

      It is a pain if you want double space after a period. In 1998, you would have to manually enter   after each sentence.

    81. Re:False assumption by Moxon · · Score: 5, Informative

      The way around this is to _indent_ with tabs and _align_ with spaces.

    82. Re:False assumption by Chris+Burke · · Score: 1

      The "older" standard is only tabs for indentation - You and Linus belongs in this camp:

      Tabs are 8 characters, and thus indentations are also 8 characters.

      Actually they aren't in the same camp.

      Linus correctly observes that tabs are 8 characters in many contexts, and he's saying both that you use tabs and that indentation should be 8 characters. In this camp, it is almost irrelevant whether you use tabs or spaces because either way the indent spacing is defined to be 8 characters. Thus consistent formatting is possible.

      The GP is in the "let's use tabs so we can each define our own code indentation level!" which breaks as soon as you try to do any formatting other than indenting new blocks.

      Linus' camp is actually much closer to the "define an indent level and uses spaces" camp.

      Personally I don't really care how much indentation is used, I want to view the code as the author intended, just like when reading a book.

      --

      The enemies of Democracy are
    83. Re:False assumption by Anonymous Coward · · Score: 0

      If you look at the source code, you can see that he did. Web browsers normally render all groups of white-space as one space. If he wanted to explicitly tell the browser to render two spaces, then he would have needed to use two " " entities. Those non-breaking space entities are always rendered by the browser and not just grouped in with the rest of the white-space characters.

      Of course, that's an extra 10 keystrokes over simply striking the space bar twice, and it plays hell with the content when you view source. That's why few people bother, which incidentally is why one space after the period is winning out. HTML killed the two space after period.

    84. Re:False assumption by Anonymous Coward · · Score: 0

      Stop thinking this only applies to your home storage situation. How about storing those spaces in a corporation, online storage (Google Docs for example), or in cloud environments? Space is still a valid concern.

      That said, as we try to add more meaning to our data, structures of the data become more important. The ability to differentiate sentence structure would be easier if we could assume that all sentences have two spaces between them, but we all know that will never happen. Seeing a typo of "Mr._ _John Doe" and "Mr. _ John Doe" (used "_" to emphasize) is pretty obvious to read as a human, but languages will need to account for the various ways people are bound to generate it.

      Mij

    85. Re:False assumption by Co0Ps · · Score: 2, Insightful

      In the real world when working on collaborated projects indenting with tabs is a pain due to the people who mix up tabs and spaces making the source code look completely broken. Then people will fix what they think is broken in their editor, making it even more broken in others. It's easy to accidentally indent with spaces, and since most editors does not display the difference between spaces and tabs, having a "tabs only" standard is bound to create a mess, as people are not perfect. I've worked on many collaborative projects and what I have found best is a spaces only convention with a fixed length of 4. Telling people to set the IDE to automatically convert tabs to the required number of spaces does the trick. Also, it seems like you think people should be amazed that your are able to replace tabs with spaces in your IDE? Welcome to new millennium. Here we use graphical IDE's with something called "Find & Replace". It does not require you too read a manual to understand how too use, and it supports regular expressions. Just matching tabs however does not. You can actually copy paste tabs as normal characters.

    86. Re:False assumption by Riggity · · Score: 1

      As noted in other comments, HTML is ignoring the second space, and Slashdot does not support &nbsp.

    87. Re:False assumption by HermDog · · Score: 1

      Efficiency has nothing to do with it.

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

      Please explain why you used one space between all sentences in your post.

      It's a single run-on sentence with gratuitous punctuation.

      --
      JADBP
    88. Re:False assumption by ShogunTux · · Score: 1

      Uh... wrong. Even if you tab, it won't indent properly when displayed using other spacing patterns. For instance, if you are lining up some statements that run over the line to make the code easier to read (which is a perfectly acceptable style), then different tab indents could screw that up. Using tabbing to just mask for indenting with spaces isn't a real solution to code indenting because of this, since you're still relying on a set tab spacing anyways in order to make your code readable, even if you don't think you are.

      Because of this, what you're saying doesn't make a lot of sense to begin with, and it doesn't pay to try to trivialize the whole spacing debate. In any case, indenting with spaces removes ambiguity in how your code should be indented that tabbing introduces. If you seriously don't think that this is an issue, then you should seriously take a closer look at some lines of code which run over a line. If you've never had this problem, then you've never really done any serious programming before, and shouldn't really be commenting on something which you aren't familiar with.

      As a programmer, I could really care less how many spaces a tab represents, or if someone uses tabs vs. spaces, but I do want to see consistency in its use within the bundle of code that I have to work on or consult, since having to switch back and forth for code spacing is going to be a huge drain on readability. And, like I stated before, just telling people to use ambiguous tabs over spaces without a tab to space convention already specified within a style document for your project doesn't do much more than to make the person viewing the code guess how many spaces their tabs represent. It may not sound like a big deal to you, but it can be a big headache when you have to continually switch back and forth between different tab spacing defines because different people like you assumed that a tab will look the same for everyone no matter how many spaces are used. Because of this, I would much rather prefer to define how many spaces a tab should represent in the code style documents for languages which have tabs as part of their syntax (like Python), and unambiguous spaces for everything else, so that I don't have to either guess at what sort of spacing the person used, or to read more style documents than I have to (most are designed rather well so that you can infer the style from code you've already seen. I personally would much rather not have to consult a style document unless I reach a case that seems ambiguous to me. That way, I can focus more on coding what I need to, rather than just reading every piece of documentation that comes my way.)

    89. Re:False assumption by Vitriol+Angst · · Score: 1

      OK, the FALSE assumption here is that this is about geeky code -- the ONE space vs. TWO space battle after a period is about Typesetting. If we are talking about programming -- it's 4 spaces = 1 tab and anyone using 8 spaces loves COBOL.

      Of course, this could be intentional Obtuseness on the part of SlashDot denizens -- but in case it isn't, the war is already settled; ONE SPACE. It's up to the FONT vendors to come out with new typefaces that offer a PERIOD with extra space at the end of a sentence and a different dot for abbreviations -- which of course means HUGE PROFITS! More profits for people coming up with keyboard apps that do it auto-magically. /you can of course, sense there is some mischief in my comments.

      --
      >>"ad space available -- low rates!!!"
    90. Re:False assumption by Grishnakh · · Score: 4, Informative

      God forbid I line up some stuff to make it more readable.

      You can do both: use tabs for indentation, and spaces to line things up.

      So, if you have a statement like this:

              printf("testing 1 2 3 %d %s",
                              var1, var2);

      the printf would have a tab, and that's it. On the second line, there would be one tab (to match the line above it), and then the rest would be filled in with spaces, like this: (underscore indicates a space)

      printf("testing 1 2 3 %3 %s",
      ________var1, var2);

      That way, you can set your tab stop to whatever you want (2, 4, 8, 3, 5, 16, whatever), and it will look correct.

    91. Re:False assumption by KlaymenDK · · Score: 2, Funny

      I use four-tab spaces. ...and write *very* concise code, or it won't fit on the lines.

    92. Re:False assumption by Anonymous Coward · · Score: 0

      It's sort of interesting really, that normally html crunches the spaces for you. I don't think most people realize that.

    93. Re:False assumption by ralfmuschall · · Score: 1

      This might work in languages where indentation is just for humans. In Python, where indentation matters, tabs are evil (you would need to *know* how wide was a tab in the machine of the guy who wrote the code in order to read or edit it). This information usually is not part of the source (unless the author inserted a file variable (i.e.
      "# -*- tab-width: 7 -*-")).

    94. Re:False assumption by Anonymous Coward · · Score: 0

      Browsers collapse whitespace.

    95. Re:False assumption by thoromyr · · Score: 2, Informative

      You are almost correct. The reason that two spaces *used* to be added after a sentence instead of a single space was that typewriters were monospaced. If you use a monospaced font and only use a single space after a period to indicate a sentence it *is* visually ambiguous due to the large amount of extraneous white space between the edges of adjacent characters. So much white space, in fact, that you can often insert a character between two others (I've done this in manuscripts rather than retype a page).

      If you are producing a document using a monospaced font then you *should* use two spaces to help the readability of the text. On the other hand if, like most people, you are producing a document with a proportional font then only use one.

      In summary: the "rule" about using two spaces after the period ending a sentence was for typewriters and arose because typewriters had a (wide) monospacing.

    96. Re:False assumption by RoccamOccam · · Score: 2, Funny

      we could simply write software to be intelligent enough to automatically add a space between sentences when it detects a period-space-word starting with a capital letter

      Mr. John Smith
      Ms. Jane Doe
      Dr. Thomas
      W. Main Street.

    97. Re:False assumption by LateArthurDent · · Score: 2, Insightful

      People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.).

      The ability for you to view it however you want is precisely what I'm trying to avoid when I set space indentations. Code should be no wider than 80 characters, so I can use cat in a standard terminal and see the results without them being wrapped around at illogical locations. That means we all need to agree on using monospace fonts, 2-space indentations to maximize available screen space, and you need to wrap your code manually at locations where it makes sense to do so, at or before the 80-char mark. If you edit it with your own custom view, you can't follow these guidelines. Then when I look at the code, it's going to suck in a way I can't fix with a script or style change.

      You're on my lawn. Get off it.

    98. Re:False assumption by Lord+Apathy · · Score: 1

      I did. Live with it.

      --

      Supporting World Peace Through Nuclear Pacification

    99. Re:False assumption by Belizean · · Score: 2, Interesting

      I know that using two spaces between sentences is correct and leads the eye better especially in speed reading. Unfortunately broken technology has forced me to struggle to unlearn this. The software I use to pull the Word Press posts that I write and then display on my static htm website breaks the text display if I do it the "proper" way, thus I am compelled to use one space.

    100. Re:False assumption by Anonymous Coward · · Score: 2, Insightful

      Now all you have to do is set your editor to always do that for automatic indentation, instead of inserting tabs for 8-space multiples and filling the rest with spaces.

      And also remember to never use the TAB key, only the space bar, to create such spacing even if your function name is anImpossiblyLongFunctionName()

    101. Re:False assumption by Anonymous Coward · · Score: 0

      No, no and no. Tab is unspecified amount of space determined by the settings of viewer's editor. If you assume it's anything else, its akin to expecting that structure layouts are compatible across platforms and then you deserve to die in a fire.

    102. Re:False assumption by Anonymous Coward · · Score: 0

      The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. If you only use a single space to delineate words and sentences, all paragraphs merge into a jumble. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

      Oh. And here I thought we had the '.' character reserved for all that.

    103. Re:False assumption by marklark · · Score: 1

      You've been trolled. Wasn't it obvious? :^)!

    104. Re:False assumption by djchristensen · · Score: 1

      Thank you. People who indent with spaces should be shot. Indent with tabs all you want and I can view it the way I want (2 space, 4 space, etc.).

      If the only place code was ever looked at was in an editor with adjustable TAB sizing, you just might have an argument. But it isn't, and you don't.

    105. Re:False assumption by jeremyp · · Score: 1

      A tab character is not a number of spaces. The tab character takes you to the next tab stop. In the olden days of typewriters and the modern days of word processors, the tab stops are pretty much where you feel like. When I'm editing source code I feel like putting tab stops every fourth character from the left hand edge. That seems like a good compromise to me so that people with 8 character tab stops or 2 character tab stops can still read my code.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    106. Re:False assumption by Obfuscant · · Score: 2, Informative

      Quote: Indent only indents, it doesn't insert or delete newlines...

      Incorrect.

      if (foo) { a = x; } else { a = 5; }

      is trivially converted to GNU format by "indent -gnu a.c", and becomes:

      if (foo)
        {
          a = x;
        }
      else
        {
          a = 5;
        }

      Looks like some newlines  have been inserted. And running that through K&R indent:

      if (foo) {
          a = x;
      } else {
          a = 5;
      }

      Newlines deleted.

    107. Re:False assumption by Anonymous Coward · · Score: 0

      Then no-one reads your post, because it's obvious you don't particularly want it to be read.

    108. Re:False assumption by jcdill · · Score: 1

      Why not consult the Chicago Manual of Style? Because it's not the final authority - no style manual is. It was written for a specific purpose and it only applies to THAT purpose.

      I'm a 2-spacer. My primary argument is that it eliminates all possible ambiguity about if the period is ending an abbreviation or ending a sentence. I frequently run into situations where text written with single-spaces produces ambiguity and I have to re-read the sentence(s) to figure out where they stop and start.

      I also feel it makes for easier reading to have a bit more space between sentences. (The same reason I use 2 line feeds between paragraphs.) The primary argument against (e.g. creating "rivers" of white space in text) comes from crappy layout decisions such as using justified text in too-small columns.

      FYI, I learned to type on a computer, not a typewriter.

      --
      "I'd much rather be mistaken as a lesbian by a bigot than be mistaken as a bigot by a lesbian."
    109. Re:False assumption by rbcd · · Score: 1

      How do I get my editor to do that for me? Or am I supposed to hold down the space bar every time I want to line things up like that?

      Also, how wide does my screen have to be? I like the 80 character standard. If the tabs have variable width, then what happens when I view someone's code with a tab width of 8 when he wrote it with 4? Everything wraps horribly? No thanks.

    110. Re:False assumption by Grishnakh · · Score: 1

      Also, how wide does my screen have to be? I like the 80 character standard. If the tabs have variable width, then what happens when I view someone's code with a tab width of 8 when he wrote it with 4? Everything wraps horribly? No thanks.

      What do you do when you view someone else's code that has spaces for indentation, and he wrote it for a screen width of 120 characters? Write him an email whining about his coding style?

      Deal with it.

    111. Re:False assumption by rbcd · · Score: 1

      You could use that argument in response to every point about coding style, indentation or the number of spaces to use after a sentence, including your own.

    112. Re:False assumption by Anonymous Coward · · Score: 0

      Holy fuck man, that's even worse.

      Hey everyone: if you really want to make sure you fuck up the indentation of your source code and piss off the rest of your dev team, just follow ol' Grishnakh's advice here and freely intermix spaces AND tabs! It's what all the (first-year comp sci) kids are doing!

    113. Re:False assumption by Grishnakh · · Score: 1

      I was only offering a suggestion for people interested in using tabs but retaining the ability to have different tab stops. I wasn't complaining when people don't use my preferred style, causing some sort of supposed hardship because I have to *gasp* widen my text window to avoid ugly line-wrapping.

    114. Re:False assumption by Grishnakh · · Score: 2, Informative

      Whoops, I just noticed that my "tabs" disappeared. It should look like this:

      [tab]printf("testing 1 2 3 %3 %s",
      [tab]________var1, var2);

    115. Re:False assumption by tedgyz · · Score: 1

      You've been trolled. Wasn't it obvious? :^)!

      Obviously not to me. :-) The whole post was silly and waste of /. time. Now I've gone and wasted more time.

      It's too religious an issue to joke about.

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
    116. Re:False assumption by DoninIN · · Score: 1

      Honestly, as a one with reasonable geek credentials, and a long history of typing and spledding correctly when needed. I don't want, or need software to teach to me to speak, spell and write comprehensible English, and if I do... Well I should just give it up. I never liked the two space thing, it never made sense to me and seems silly, even when hammering away on an ancient manual typewriter.

    117. Re:False assumption by ThorGod · · Score: 1

      What's the truth about Led Zeppelin?!

      Fan since high school (about 13ish years), so I'm hoping you're not just puffin smoke. (Sorry I'm OT.)

      --
      PS: I don't reply to ACs.
    118. Re:False assumption by Courageous · · Score: 1

      Tab is tab, space is space. It matters a lot, because if you use tabs, but they set the distance to 8, and someone else converts a tab to fill-based-spaces to the next tab alignment, you'll get cosmetic mismatches.

    119. Re:False assumption by FlyMysticalDJ · · Score: 1

      How often do you end a sentence with Mr, Prof, or M? I suppose it would happen periodically, but not often enough that you couldn't just set those types of words as exceptions. All that being said, I do my writing in gedit or vim because I think a word processor should allow you to do the typing instead of trying to do the thinking for you.

    120. Re:False assumption by grumbel · · Score: 1

      Yep, the issue with that is that to many editor out there won't do it correctly. Emacs for example will align with tabs if you auto-indent and things will break if you change the tab-width (at least by default, there is ELisp floating around to fix it).

      Can indent or astyle handle align correctly?

    121. Re:False assumption by grumbel · · Score: 1

      Really, using tabs only works in theory.

      It does, but only because most editors are to stupid to handle it correctly automatically. In theory tabs win, but of course even in the case where they are handled correctly, its still just a partial solution, a truly layout agnostic editor would just ignore the source file layout complete and present the code however the user wants it to.

    122. Re:False assumption by Wolfling1 · · Score: 2, Funny

      Tabs,shmabs;Spacing,shmacing;Readability is for losers!;Every C programmer knows this;Cheers;Me;Winner,Cryptic C Competition,1987;

    123. Re:False assumption by menkhaura · · Score: 1

      I'm from the "indent-all-with-tabs" camp, and I don't worry much about aligning; since the invention of soft line breaks, everything is fine with me. And the Editor of Choice (vim, of course!) makes reindenting ugly code as simple as selecting a range (in visual mode) and pressing a key (= on most setups).

      --
      Stupidity is an equal opportunity striker.
      Fellow slashdotter Bill Dog
    124. Re:False assumption by wwfarch · · Score: 1

      If only I could get my coworkers to stop using IDLE

    125. Re:False assumption by gthazmatt · · Score: 1

      Also, it seems like you think people should be amazed that your are able to replace tabs with spaces in your IDE? Welcome to new millennium. Here we use graphical IDE's with something called "Find & Replace". It does not require you too read a manual to understand how too use, and it supports regular expressions. Just matching tabs however does not. You can actually copy paste tabs as normal characters.

      http://lmgtfy.com/?q=vim+find+and+replace

      The new millennium? Text editors have been able to do this for close to 20 years. While learning how to use an editor like vim or emacs well certainly requires some manual study, using one feature only requires a simple search.

    126. Re:False assumption by pyster · · Score: 1

      Wow. That does indeed look pretty gross.

    127. Re:False assumption by Doctor+Memory · · Score: 1

      You are entitled to your opinion, but sometimes it is completely irrelevant to the discussion at hand. In most cases a programmer does not have a choice on using spaces or tabs for indentation - their company coding style guidelines or FOSS project coding style guidelines completely determines that.

      FFS, we had a Perl script that ran interference for us, transparently converting between personal and project indenting style on check-in and check-out. So you worked with code that looked the way you wanted, and code that got checked in followed the project standard.

      This was fifteen years ago.

      --
      Just junk food for thought...
    128. Re:False assumption by FiloEleven · · Score: 1

      And this is not the most important topic for us to consider.

      The 650+ comment count begs to differ!

      It does make me simultaneously cringe and chuckle that this story has the highest number of comments of any on the front page.

    129. Re:False assumption by Anonymous Coward · · Score: 0

      You are both wrong - you need to use both to make things easy to adjust while keeping things lined up.

      You use tabs to indent away from the left margin *only*, so lines begin with equal tab indents. After that, you use spaces to space things to line up with other lines on the same tab indent level.

      So you do something like this:

      int main () {
      \tcout "Hello, "
      \t "world!" endl;
      }

      See? Tabs to line up the beginnings of lines, and spaces to line up things within those lines. That way, when people change your tab spacing to 3.5 spaces (kidding), your text still lines up without messing with their ability to easily delete lines.

    130. Re:False assumption by mretondo · · Score: 1

      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.

      I've been programming since 83 in 6502, Pascal, C, C++, and now Java. Every company and every project I worked on we used 4 spaces for tabs. I have heard thru the grape vine of programmers using 2 spaces but never came across one in the wild.

    131. Re:False assumption by Megane · · Score: 1

      And people who indent with both (4 spaces, tab, tab + 4 spaces, 2 tabs, etc.) should be thrown into the nearest black hole.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    132. Re:False assumption by Richard+Steiner · · Score: 1

      A tab isn't possible in the mainframe editor I sometimes write code in, so spaces are the only choice. Well, it's possible on a UTS20 terminal, but it isn't good form. :-)

      Remember that not all of us are using POSIX (or Windows) operating systems, and that your assumptions about ASCII character usage may not hold everywhere. The system I play on stores ASCII in 9-bit quarter-words. How about yours?

      --
      Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
      The Theorem Theorem: If If, Then Then.
    133. Re:False assumption by snerdy · · Score: 1

      we could simply write software to be intelligent enough to automatically add a space between sentences when it detects a period-space-word starting with a capital letter.

      This would wreak havoc on citations in legal documents.

      The truth of the matter is that it's simple to remove the two spaces but difficult to add them. The best practice, therefore, is to type the two spaces by default.

    134. Re:False assumption by snerdy · · Score: 1

      a word processor will space a document properly, such that the space between sentences IS wider than a space between words.

      MS Word certainly doesn't do this. What you're describing is an extremely difficult problem, having software find the beginning and ending of sentences. I'm pretty confident that no standard word processing software even attempts to tackle this problem, but I'd be happy to be surprised -- what word processor do you think does this?

    135. Re:False assumption by Anonymous Coward · · Score: 0

      That's why you use tabs to indent to the level of the surrounding code, but spaces to line up terminal comments and the like. Yes, this requires some discipline. We're programmers, dammit, if you can't be disciplined, go be a poet or something.

    136. Re:False assumption by Xarius · · Score: 1

      There is only a limited list of those types of words though, and you'd rarely end a sentence with Mr or Prof or Rev. (except in the previous sentence!)

      --
      C17H21NO4
    137. Re:False assumption by riT-k0MA · · Score: 1

      ... But i LOVE my 1680*1024 widescreen. It also helps that every coder in the office has a widescreen. Nothing says 'reusable' like descriptive variables on a widescreen.

    138. Re:False assumption by Anonymous Coward · · Score: 0

      Because powers of two are superior to any other number, duh.

    139. Re:False assumption by The_Noid · · Score: 2

      Exactly. People who stick to spaces for indentation don't realise that there is a difference between indentation and alignment.

      But elastic tab stops are still the best: http://nickgravgaard.com/elastictabstops/

    140. Re:False assumption by gullevek · · Score: 1

      sure is fun to press space 8 times ... and count ... 8 times only to find out that you counted wrong and then you have 9 spaces.

      tabs is the only way.

      --
      "Freiheit ist immer auch die Freiheit des Andersdenkenden" - Rosa Luxemburg, 1871 - 1919
    141. Re:False assumption by BasilBrush · · Score: 1

      The advice to not use double spaces any more on word processors dates back to when I first learned to use them, so I suspect it was Wordstar. And I've assumed the same has applied with other word processors. So time for an experiment. I typed this in MS Word:Mac 2008.

      My son. My son.
      My son my son.

      I set the font to Ariel 36 pt. And I set the magnification to 500%. I then measured the space between the full stop and the M in the first line. Then the space between the n and the m on the second line. I did the measurements using xScope.
      77 pixels gap in the first case. 72 pixels gap in the second case.

      Conclusion: The advice I was given was good. Word processors do typography properly. They give more space between sentences than between words.

      P.S. I understood browser rendering engines to do the same. So I did a preview of this message, and went to maximum zoom. 16 pixels vs 14 pixels. Again it has a wider space between the sentences than between words.

      What you're describing is an extremely difficult problem, having software find the beginning and ending of sentences.

      I don't imagine they try to do anything too complicated. They just make a space after a period wider than a space after a letter.

    142. Re:False assumption by Anonymous Coward · · Score: 0

      I am coding in Fortran, you insensitive clod!

      [Fortran standard forbids tabs]

    143. Re:False assumption by tehcyder · · Score: 1

      This argument might be more persuasive if I had ever heard of the fucking Chicago Manual of Style.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    144. Re:False assumption by BasilBrush · · Score: 1

      because HTML is broken.

      It's not broken. It was a very deliberate decision. A feature not a bug. A web page tends to have text written by a number of different people on it. As a result there will be a difference in the appearance of text between that typed by big-endians (2 spaces) and by little-endians (1 space). So HTML renderers are required to render identically in each case.

      The browser uses typography rules to determine the spaces between characters. It doesn't need typists to help out by using 2 spaces as in the days of typewriters. The space after a period is wider than the space after a letter.

    145. Re:False assumption by xaxa · · Score: 2, Insightful

      It works fine. Using ____ for tab and . for space:

      if (thing) {
      ____do stuff;
      ____and do some really
      ________long stuff;
      ____but-here(I'd like,
      ____.........these arguments,
      ____.........to align);
      }

      Changing ____ to ________ (or whatever) isn't a problem.

    146. Re:False assumption by tehcyder · · Score: 1

      Okay then, what do printed books use?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    147. Re:False assumption by MtlDty · · Score: 1

      Doesn't work for weirdos like me who use non-proportional fonts (Verdana is my favourite). Alignment of any sort is just not going to work.

    148. Re:False assumption by snerdy · · Score: 1

      Hey, neat. Thanks for checking it out!

      I took a look at MS Word 2007 on the PC I'm sitting in front of when I wrote my previous comment and didn't find any difference in the space, but I didn't use anything more fancy than a ruler. I'm happy to accept your findings. Perhaps there's a difference between Word on a PC and Word on a Mac?

      So I accept the concept you're presenting, but it doesn't seem like an actual solution to the problem. If there is always more space after a period, there will be spaces after sentences, sure, but there will be spaces within sentences as well, which defeats the whole point. Does that make sense?

      In order to have additional space only after sentences, you must have a decision made by something that can parse actual grammar. Machines cannot do this consistently. People can. ...Err, people are more likely to be able to. ;)

    149. Re:False assumption by ultranova · · Score: 1

      Telling people to set the IDE to automatically convert tabs to the required number of spaces does the trick. Also, it seems like you think people should be amazed that your are able to replace tabs with spaces in your IDE? Welcome to new millennium. Here we use graphical IDE's with something called "Find & Replace".

      So tell me: why does this amazing new-millenium graphical IDE apparently treat code as a flat text file? Why not treat it as a parse tree, and let the user represent it however he wants - each block indented by certain amount, color-coded for your convenience, maybe some kind of tree structure with every block in the entire project as leaves, or maybe he really likes flowcharts? Or maybe some kind of fancy graph where each object has links linking it to objects it references, and you can zoom in to see its internal structure, from "whole project as a single black box" to "individual lines of code as small boxes"? Then make it 3D and add a flight simulator mode and debug with double Vulcan cannons :).

      Seriously, using a glorified text editor as an example of a new-millenium IDE is ridiculous.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    150. Re:False assumption by Malc · · Score: 1

      I'm going to have to take two seconds to run some elisp to fix it ;-)

      I don't know what you're grinning about... now you've just added some fake history to the list of code changes that I have to filter, or remember to toggle ignoring of white space when I diff.

    151. Re:False assumption by LateArthurDent · · Score: 1

      ... But i LOVE my 1680*1024 widescreen. It also helps that every coder in the office has a widescreen. Nothing says 'reusable' like descriptive variables on a widescreen.

      So do I, but I use that real estate for things other than code text. Reading very long lines is not efficient anyway. Have you ever tried reading a web-page that actually spans the text through your entire maximized browser?

      I use my extra screen real-estate to have multiple files open at the same time, different programs, different IDE debugging windows, etc. And when I need to do a quick edit from the terminal without an IDE, I can still do it.

    152. Re:False assumption by adelgado · · Score: 1

      Just outta curiosity, why do you program with multispaced fonts?

    153. Re:False assumption by RichiH · · Score: 1

      > People who indent with tabs should be shot. Indent with spaces all you want and I can view it the way IT WAS WRITTEN.

      People like you are part of the problem. Use tools properly, don't complain about them when used wrongly.

      Use tabs for _indentation_ and spaces for _formatting_.

      If you use Vim, you want

      set copyindent
      set list
      set listchars=eol:$,trail:-,tab:>-,extends:>,precedes:
      map :set invlist
      ounmap
      imap :set invlista

      Unfortunately, I can't paste the UTF-8 listchars version on Slashdot. See http://paste.debian.net/82316/ for that part. Ironically, pasting said code converted the tabs to spaces.

    154. Re:False assumption by RichiH · · Score: 1

      With the help of http://ask.slashdot.org/comments.pl?sid=1743318&cid=33152326 and the anti-Slashdot-parser version of the relevant part of my .vimrc you can find at http://paste.debian.net/82317/ the above example would look like:

      >---printf("testing 1 2 3 %d %s",$
      >--- var1, var2);---$

      Note that I added three trailing whitespaces just to show how easily _that_ particular suckage can be avoided with the help of a proper setup.

    155. Re:False assumption by Anonymous Coward · · Score: 1, Informative

      Sorry, you're seeing an artifact of the font you are using + the enlargement + kerning.

      ie.
          1) you are using a font designed for 12pt.

          2) the '.' glyph has spacing built in it. (pull it up in fontforge or equivalent to verify)

          3) kerning is moving the period closer to the previous letter, but there is no kerning between characters & spaces.

          4) you enlarged the font 3x so the space built into the glyph was magnified 3x.

      The difference you noticed of 5 pixels at 36pt (77 - 72) is insignificant compared to the spacing difference spoken about here. Using your numbers a double-space should be 144px vs the 77 you're seeing.

      rho

    156. Re:False assumption by Grishnakh · · Score: 1

      Unfortunately, I work at a company where we have a coding standard that requires us to use spaces for indentation. We also have lots of other stupid stuff in our coding standard, like "goto" not being allowed, even in Linux device drivers where it's quite common for dealing with errors gracefully.

    157. Re:False assumption by Duggeek · · Score: 1

      Respondents abound with arguments about code-indentation... this is not about code! This is about content.

      In the age of the IBM Selectric, the authoritative stance was that two spaces were needed between the period of one sentence and the capitalized first-letter of the next.

      This was before the age of the word processor. Many 'dotters have it correct; the programming of the modern word processor already accounts for the proper amount of space between sentences. Roughly, the heuristic for the added space is based on the exact sequence of [period/space/char:A-Z] ... mind you that the real trigger is when the first-occurring letter after the period is capitalized. This holds true for HTML content as well, all the way back to v3. When you publish content, it doesn't matter how many taps of the spacebar you made. The published page will display the same amount of space between sentences if you use one, two or five (regular) spaces between them.

      While Chicago Manual of Style affirms this notion, it should be heeded for all WYSIWYG content generation; like e-mails, simple printed documents and presentations.

      There is a compendium that attests to this, and other specific notions of modern typography; The PC Is Not a Typewriter by Robin Williams. (ISBN: 978-0938151494)

      This book has been around for over fifteen years and should have put this discussion to rest then. It appears that ignorance and sheer Luddite influence has brought it back into the spotlight. How this came to be a worthy topic on /. is anyone's guess.

      --
      This post © Copyrite Duggeek, all rights reversed.
    158. Re:False assumption by Mr.+Slippery · · Score: 1

      sure is fun to press space 8 times

      If your editor can't read a press of the tab key as "insert enough spaces to move me over to the next tab stop", then you need a new editor.

      The meaning of "tab" when displaying a file is ill-defined; some software takes it as "insert 8 spaces here", some as "move over to the next tab stop, with stops every 8 spaces", some as "move over to the next tab stop, with stops configurable". For this reason, tabs should never be used in a plain text file, including program source code.

      If I can't look at your code with less, you lose.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    159. Re:False assumption by X0563511 · · Score: 1

      Oh, I couldn't have stood that. I would have handed in assignments stripped of whitespace just to piss that jerk off.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    160. Re:False assumption by jc42 · · Score: 1

      Kernel is 1 tab, which is always 8 spaces.

      Not true; indenting by a tab means to indent however the reader has his/her tab stops set. I usually have my tab stops set to 3 or 4 chars, so when I read tab-indented code, that's what I see.

      Not only is there no rule that "TAB is always 8 spaces"; if there were such a rule, there's be no way it could ever be enforced. Most display software written since 1980 or so has included the ability to define tab stops, and you can't prevent people from setting them however they like them.

      (Occasionally, mostly when reading HTML from commercial junk-HTML generators, I set the tab stops to 2 spaces, so they'll be more readable on my screen, which is a mere 19200 pixels wide. ;-)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    161. Re:False assumption by R.Mo_Robert · · Score: 1

      Unfortunately, some of our assignments were Python scripts, so that strategy would not have worked. :)

      --
      R.Mo
    162. Re:False assumption by riT-k0MA · · Score: 1

      Some of the code I'm forced to deal with:

      setDecDenomonationValue(intRowCounter, modGlobalUtilities.CutOffDecimalPlaces(FrontendCashSummary.getDecDenomonationValue(intRowCounter), modGlobalEnumsAndConstants.intNumberOfDecimalPlacesForCurrency

      That is a single line.
      A widescreen is still insufficient to deal with some lines.
      It's time for a new job.

    163. Re:False assumption by Civil_Disobedient · · Score: 1

      Wow.

      I know! Fallacies of defective induction are pretty amazing! I would suggest you check 'em out but you're apparently already a master.

    164. Re:False assumption by Hognoxious · · Score: 0

      It's not broken. It was a very deliberate decision.

      You can argue about the technicalities and semantics about whether "broken" only refers to faulty implementation.

      To me, broken by design is still broken.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    165. Re:False assumption by BasilBrush · · Score: 1

      Again, it's not broken. That design decision has saved the world from inconsistently spaced web page text. Meanwhile, both unicode character escapes, and HTML 4.0 entity references provide a wide variety of explicit typographical spaces for those rare people who actually know what they are doing WRT typography... which doesn't include double spacers.

    166. Re:False assumption by Anonymous Coward · · Score: 0

      I'd rather indent with tabs than be a gigantic faggot.

    167. Re:False assumption by gullevek · · Score: 1

      I on the other hand hate people who use spaces. It never looks right, it never works. It is shit.

      --
      "Freiheit ist immer auch die Freiheit des Andersdenkenden" - Rosa Luxemburg, 1871 - 1919
    168. Re:False assumption by Anonymous Coward · · Score: 0

      Great idea. Must have something to do with the less known programming language, Whitespace. Do you use syntax coloring for your tabs and spaces?

    169. Re:False assumption by thoromyr · · Score: 1

      Printed books? They don't have space characters, they just have ink on the page. How much space between characters depends on a lot of things like justification, kerning and so on. But if you are reading a typical printed material produced from some electronic document, odds are very good that the original electronic document had one space following the period ending a sentence.

      If you are talking about typesetting with lead type -- one space would have been typical (although a typesetter has multiple sizes to use for "spacing" things).

    170. Re:False assumption by Anonymous Coward · · Score: 0

      If you haven't heard of it, you're not a writer, and this question doesn't pertain to you.

    171. Re:False assumption by Anonymous Coward · · Score: 0

      I can remember when using 'tab' just meant adding spaces as fill characters, back spacing was deleting these spaces, not deleting a tab. Life was so simple then, now we have Word trying to guess the formatting that don't want.

      Thanks to /. for adding the countdown timer to the submit button.

    172. Re:False assumption by jbeach · · Score: 1

      Depends on the type of document, even then. I'm currently in a class for TV script writers, where I was told very clearly that their standard is two spaces after every period. This is probably to make it very clear for the actors, on reading their lines, where one sentence ends and another begins.

      And then of course, an actor like Christopher Walken comes along and crosses out all the punctuation anyway...

      --
      The Invisible Hand of the Free Market is what punches workers in the nuts.
    173. Re:False assumption by Adm.Wiggin · · Score: 1
      Also, shamelessly quoted FTFS:

      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.

  2. "tab indenting for code was properly two spaces" by glwtta · · Score: 4, Insightful

    Well fuck you too, then.

    --
    sic transit gloria mundi
  3. Blasphemy! by uvsc_wolverine · · Score: 1

    I do two spaces, except on my iPhone. It does one space automatically after double tapping the space bar for a period. Oh...and I still do the tab indents when I code (which is pretty rare anymore...my C++ is so rusty it belongs in a scrap heap).

    --
    This space for rent...
    1. Re:Blasphemy! by somersault · · Score: 1

      HTML automatically strips out extra white space, so I think the web has automatically decided the answer to this question - unless you add in a manual non breaking space every time you type a sentence..

      --
      which is totally what she said
    2. Re:Blasphemy! by B'Trey · · Score: 1

      I do two spaces, except on my iPhone. It does one space automatically after double tapping the space bar for a period.

      On my Blackberry, hitting the space bar twice automatically enters a period. It's the same number of keystrokes but easier to hit than hitting the Alt and then the M key.

      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

  4. What does slashdot say? by girlintraining · · Score: 5, Funny

    [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
    1. Re:What does slashdot say? by Anonymous Coward · · Score: 1, Insightful

      Is it readable, and is it consistent?
      If so, then it's good.

    2. Re:What does slashdot say? by Hatta · · Score: 4, Insightful

      Two spaces makes it easier to parse with a regexp. Any period followed by two spaces is the end of a sentence. If you use one space, you might pick up sentence fragments with titles (Mr. Mrs., etc.)

      Of course, the question is really moot. LaTeX ignores whitespace and just does what it thinks is right. I am willing to trust LaTeX.

      --
      Give me Classic Slashdot or give me death!
    3. Re:What does slashdot say? by elrous0 · · Score: 2, Funny

      Agread.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    4. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      [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.

      Muphry's law.

    5. Re:What does slashdot say? by drunkennewfiemidget · · Score: 1

      This post for president.

      I use 2 spaces. Do I care what anyone else uses? No. I'm more concerned about the average Joe's inability to spell and punctuate -- and his complete and utter indifference to it.

    6. Re:What does slashdot say? by greghodg · · Score: 0

      And the inability of most of the U.S. population to correctly use apostrophe's.

    7. Re:What does slashdot say? by randizzle3000 · · Score: 1

      Whoohs...what was that sound?

    8. Re:What does slashdot say? by jgrahn · · Score: 1

      Of course, the question is really moot. LaTeX ignores whitespace and just does what it thinks is right. I am willing to trust LaTeX.

      Doesn't LaTeX look for ., ?, !, : and , in your text and insert extra space after them -- so you have to escape them if you use them for some other purpose? That's uncool too.

    9. Re:What does slashdot say? by david.given · · Score: 2, Insightful

      Any period followed by two spaces is the end of a sentence.

      Or a newline.

    10. Re:What does slashdot say? by clem.dickey · · Score: 1

      My favorite markup language uses this disambiguation: A period at the end of a line ends a sentence. Any other period does not.

      No escape characters necessary to mark abbreviations. Just begin each sentence on a new line.

    11. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      I am willing to trust LaTeX.

      That's what she said... up to 9 months ago.

    12. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      With LaTex you have to do things like Mrs.~Jones or Mrs.\ Jones to get the spacing right in non-end-of-sentence situations...LaTeX is great but is not all-knowing.

    13. Re:What does slashdot say? by zojas · · Score: 1

      you have to give LaTeX a little help though. when you have a period that doesn't end a sentence, use a ``tie'', like this: Dr.~Zahradka. Then LaTeX knows not to break the line there, and also not to put extra space, like at the end of a sentence.

    14. Re:What does slashdot say? by asylumx · · Score: 1

      I am willing to trust LaTeX.

      ...That's what she said.

    15. Re:What does slashdot say? by Graff · · Score: 1

      The only one that matters: Is it still readable?

      Of course, the real answer is: no extra spaces

      The trouble is that a lot of our punctuation has multiple meanings. For example, the full stop or period is used to indicate the end of a sentence but it's also used in abbreviations, math, computer programming, and so on.If we ONLY used the full stop for the end of a sentence then we could forget about ever having to use spaces after a full stop. You would write the sentence, end it with a full stop, and let the typesetter (your computer, for example) handle the spacing.

      Since the full stop is used in places where you don't intend to have a full stop your typesetter has to guess your intent. This means it's often more reliable to skip the typesetter and do the spacing yourself, resulting in the current confusion.

      Honestly, I don't understand why sentences are ended with a tiny point anyways. Shouldn't there be some better indication as to the end of a thought? That's why we need all the extra spaces in the first place, because the period is too weak to indicate the end of a sentence by itself. Maybe we should just replace the period with a better glyph!

    16. Re:What does slashdot say? by MattMattMatt · · Score: 2, Funny

      It's a good idea to use LaTeX throughout the sentence, otherwise there might not be a period at all.

    17. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      I am willing to trust LaTeX.

      *grumble*

      That's how I ended up with these kids...

    18. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      Mr and Mrs are the correct abbreviation.

    19. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      But LaTeX on unix always seems unnecessary. Its like there is something extra that isn't necessary. Oh wait, that was latex on eunichs. Thats what it was. But yep, unnecessary.

    20. Re:What does slashdot say? by Cloud+K · · Score: 1

      LaTeX [...] just does what it thinks is right. I am willing to trust LaTeX.

      Funny, that's exactly why I don't trust LaTeX :-)

      In my experience of it, I ended up spending more time telling it what not to do than I spent telling 'normal' packages what to do. YMMV - I can see how it can be a big timesaver in formal reporting and documentation, perhaps it's a case of using the correct tool for the job (i.e. don't bother writing a basic letter with the thing!)

    21. Re:What does slashdot say? by Velex · · Score: 1

      so you have to escape them if you use them for some other purpose?

      As I understand it, yes. If you want to write "Dr. Foulmouthjerk cussed out Sue today. Dr. Foulmouthjerk is going to make sure she'll never work in this state again," in LaTeX it's Dr.\ Foulmouthjerk cussed out Sue today. Dr.\ Foulmouthjerk is going to make sure she'll never work in this state again.

      --
      Join the Slashcott! Stay away entirely Feb 10 thru Feb 17! Close all tabs to prevent autorefresh!
    22. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      That and any non-American (well many anyway) probably hear about this whole two-space thing for the first time, when reading this slashdot posting. I for one had never in my life (27 years) heard of two space indentation after a sentence until I came to Canada (from Germany) and noticed the odd two spaces writing style in my colleagues documentation.

    23. Re:What does slashdot say? by Anonymous Coward · · Score: 0

      Trusting latex too much can lead to the overpopulation problem.

    24. Re:What does slashdot say? by dprovine · · Score: 1

      LaTeX uses ~ for "nonbreaking space", so you can just type "Mr.~Smith", and it won't break the line between "Mr." and "Smith", and it'll avoid putting extra space there while justifying the line.

    25. Re:What does slashdot say? by Bobb+Sledd · · Score: 1

      Wrong: an ellipses ends a sentence... An exclamation point ends a sentence! A question mark ends a sentence? A semi-colon ends a sentence; A double-quote ends a "sentence." (A parenthesis ends a sentence.) And all still require two spaces after each. Also: a colon does NOT end a sentence, and it still requires two spaces after it. That HTML is broken is irrelevant.

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
    26. Re:What does slashdot say? by jez9999 · · Score: 1

      We have bigger problems in the world than "one space or two" ... for example, people's atrocious speling.

      Oh come on, your being rediculous.

  5. One space by GuJiaXian · · Score: 5, Informative

    I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.

    1. Re:One space by Anonymous Coward · · Score: 0

      You must be a really shitty editor. One space? Are you loco?

    2. Re:One space by Anonymous Coward · · Score: 0

      He must be if he can read anything in one-space. I was under the assumption that you need at least two-space to form letters.

    3. Re:One space by morgan_greywolf · · Score: 3, Informative

      No, he's not loco. He's correct, at least if he's going by the AP style guide or, indeed, many other such materials. It's one space for any proportionally-spaced font. (Fixed-spaced fonts (Courier, American Typewriter, Lucida Console, Bitstream Vera Mono, etc.) aren't used in most professionally-published work, except for stuff like code in a technical publication.)

    4. Re:One space by Culture20 · · Score: 2, Insightful

      I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.

      Oh yeah? I've been a typer for 25+ years now. Two spaces (but HTML will render it as one without manual spacing which has always bugged me since 1994).

    5. Re:One space by commodore64_love · · Score: 2, Insightful

      >>>I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.

      No. Two spaces separate the sentences further apart, and make it easier to read the document without accidentally running two sentences together.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    6. Re:One space by Rob+the+Bold · · Score: 4, Insightful

      I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.

      Why stop there? Really. Is even one space really needed? Doesn't a period, question mark or exclamation point denote the end of a sentence. Why go all redundant and put a space in at all . . .

      Oops, I guess an ellipsis can end a sentence too.

      I'm not being snarky here. But I am thinking that the answer to the question "Why not zero spaces?" would be "Because that would make it harder to read".

      --
      I am not a crackpot.
    7. Re:One space by MrHanky · · Score: 0, Troll

      Mod parent up. He's right, and the rest of you are just opinionated nerds.

    8. Re:One space by BitZtream · · Score: 0, Troll

      Thanks for telling us how you do it wrong.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    9. Re:One space by Anonymous Coward · · Score: 0

      I've been a reader for more than 30. Two spaces.

    10. Re:One space by Tacvek · · Score: 3, Interesting

      The problem with two spaces is that there is not two spaces between a sentence logically. Professional typography uses one single space that is longer than the inter-word space, but shorted than a double inter-word space. Let your typesetting system determine the where the sentence ends, and adjust the space properly. TeX and LaTeX, are happy to do that.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    11. Re:One space by dominious · · Score: 1

      hey, my scrollbar is almost in the middle of this whole thread and so far we ve been talking about programming languages.

      Take your on-topic post somewhere else!

    12. Re:One space by bluefoxlucid · · Score: 3, Informative

      It's one space for any proportionally-spaced font.

      I use a lot of proportionally spaced fonts, including Times New Roman and Arial from Microsoft's True Type Fonts as well as whatever open-source fonts come with Linux. I can tell you that not only is a space narrower than an 'n', but it's also the same width regardless of if it comes after a period or not. Spaces are wider when using justified alignment, but across a whole line rather than just at periods. Further, periods themselves are extremely narrow: the spacing after a period is non-existent, and kerning will make the situation even worse by placing the period inside a 'W' or 'Y'.

      As a result, single-space provides more of a problem for today's proportional fonts than fixed-width fonts, since spaces are extra-wide with fixed width fonts anyway (as in, not more narrow than an 'n'). It's hard to read either Courier New or Arial, in any case, with single spacing: my eyes wander while my brain processes a chunk of text, so I grab 3 or 4 words at a time and then have to identify where I am. Without the geographical landmarks of extra white space scattered about a paragraph, I have a lot of difficulty returning instantly to wherever I was every few milliseconds; it can take several seconds to reorient my vision sometimes if a bug or some other piece of movement distracts me for the briefest fraction of a second.

    13. Re:One space by Mongoose+Disciple · · Score: 1

      He's right, and the rest of you are just opinionated nerds.

      Sir, you must have gotten lost. This is Slashdot. Opinionated nerdery is what it's for.

    14. Re:One space by DarthBling · · Score: 1

      When I was in Journalism in high school, we never used two spaces. The reason I was told to use one space was to make articles shorter. And since shorter articles take up less space meaning, we could fit more stuff into our papers without having to add more pages (which drove up the costs significantly).

      Luckily for me, I could use find and replace in Word to replace all my double spaces with single spaces.

    15. Re:One space by Anonymous Coward · · Score: 0

      Two spaces separate the sentences further apart, and make it easier to read the document without accidentally running two sentences together.

      Some of us aren't complete retards and recognize a full stop when we see one.

    16. Re:One space by ceoyoyo · · Score: 1

      A decent typesetting system should ignore your double spaces and do what it thinks is right anyway (LaTeX does that, I believe). So the choice of double or single spaces becomes a matter of personal choice and, as someone else mentioned, double spaces make for a handy way to identify sentences.

    17. Re:One space by Anonymous Coward · · Score: 0

      I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now. One space.

      Then you should know the difference between editing and typesetting.

      You may find it easier to edit when the input text has one space. Your typesetters might find it easier to typeset when the input text has one space.

      But typeset output won't have one space, because readers find it easier to read when the space after sentence-ending punctuation is bigger than the space after mid-sentence punctuation.

    18. Re:One space by P-Nuts · · Score: 1

      That said, I'd rather LaTeX used single/double spaces to tell whether or not it's a sentence end, because then I wouldn't have to go back and put backslashes in front of all the spaces where it made a mistake. LaTeX is perfectly happy to have me type various numbers of hyphens to get the right sort of dash, but tries to be too clever for its own good when it comes to sentence spacing.

    19. Re:One space by Anonymous Coward · · Score: 0

      One space has been the standard for a long time. Not sure what you are on, but I've never seen a document in the past 10 years use 2 spaces at the end of a sentence instead of one.

    20. Re:One space by Civil_Disobedient · · Score: 1, Insightful

      I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now.

      That is not an argument. Or rather, it is an exceedingly poor argument. Much like, my penis is larger than yours, therefor I am correct.

      Try using reason next time.

      For example: two spaces are easier to visually parse than one. That's testable, verifiable, and reproducible.

    21. Re:One space by Anonymous Coward · · Score: 0

      >No. Two spaces separate the sentences further apart, and make it easier to read

      In a world of "OMG", "RU", "B4", "TL;DR" and every other lazy-assed texting shorthand, where people are too fucking lazy to type anything at all (much less actually READ), you may rest assured that the double space system will die a slow and quiet death. Probably to be replaced with wikiwords, wikiscentences and wikiparagraphs.

      Nowgetthefuckoffmylawn

    22. Re:One space by Anonymous Coward · · Score: 0

      As with all conventions that everyone takes as rules, these conventions are constructed. Space after periods precisely according to the style manual you're told to rely on (APA, MLA, Chicago, etc). If there's no style manual officially endorsed for writers, go with what the people evaluating your writing say. Conventions for this are as arbitrary as they are for commas. Do what the boss likes.

    23. Re:One space by supercrisp · · Score: 1
      Why did you even bother posting? Any boob could Google and find the answer the style guides provide (yours). Nope, this sort of topic is just an excuse for people (like me) to waste time best spent being productive.

      Since I still have real work to do, let me continue. Using a proportional font, the standard is to add one space after the period. With nonproportional fonts, the standard is to double-space. There, I've said it. My credentials? English teacher. Former typesetter. I've read Bringhurst. Currently writing an essay, strangely enough, touching upon how pissed-off a poet was that the type-setters kept changing what he'd typed to what would fit their (admittedly beautiful) design standards. So his next book was printed all in Courier, which led all his readers to promptly poke out their eyes with correction pencils.

      To conclude on a typographically philosophical note: Nor again is there anyone who loves or pursues or desires to obtain procrastination of itself, because it is procrastination, but occasionally circumstances occur in which procrastination can procure him some great pleasure. This is why the quick brown fox jumps over the lazy dog.

    24. Re:One space by philipmather · · Score: 0

      I've been an editor (copy editor, proofreader, senior editor, etc.) for 10 years now.

      Don't worry, no one's perfect. We can't all be system administrators.

      --
      Regards, Phil
    25. Re:One space by BitZtream · · Score: 0, Redundant

      So, for 10 years, you've been doing it wrong.

      Just because you have done it that way doesn't mean you're right, it just means you've been wrong longer.

      You also think capitalizing all words of a title is the right thing as well I'm sure.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    26. Re:One space by MrHanky · · Score: 1

      Sure. But hardly any of those guys have written anything for publication, and they simply don't know what they're talking about. They'll still consider that they're opinion is right, just because it's what they've been taught. It's a bug, not a feature.

    27. Re:One space by Anonymous Coward · · Score: 0

      No. Two spaces separate the sentences further apart, and make it easier to read the document without accidentally running two sentences together.

      You're completely ignoring the fact that the period is a visually weak character and essentially appears as half a space anyways.

    28. Re:One space by Mongoose+Disciple · · Score: 2, Insightful

      But we all write all the time, if not intended for publication.

      Should 1% or less of all writing dictate what should happen to the other 99%+ of writing?

    29. Re:One space by blair1q · · Score: 1

      Print media use one space. It saves paper and ink and makes room for brasierre ads.

      Electronic media use one or two spaces. The software will reformat it to fit some default system anyway, so it doesn't matter.

      When typing a letter, use two spaces. Because it's the correct way to write, and you're not really worried about the cost of paper or ink or the revenues you're losing from using space you could be selling for brasierre ads.

    30. Re:One space by Thinboy00 · · Score: 4, Informative

      Wikipedia's featured article on the subject (happens to be today's, actually).

      --
      $ make available
    31. Re:One space by MrHanky · · Score: 1

      Dictate? No. Just like it can't dictate correct spelling and grammar in SMS messages. Then again, typography doesn't concern SMS, email, or even the web, so this question doesn't actually concern the 99% you're talking about. In publishing, one space is the norm.

    32. Re:One space by TheoMurpse · · Score: 1

      To add my voice to the mix: I was an editor for an academic journal for two years. It's one space for proportionally-spaced fonts. We didn't deal in monospace, so I have no personal experience with that.

    33. Re:One space by Anonymous Coward · · Score: 0

      Ellipsis are part of Unicode nowadays (as ONE character!) as is a "half-width space" -- the ONLY typographically correct way if not ending a sentence. Go use modern machines the way they finally can after too many years of waiting. Your word processor ist NOT a typewriter anymore (and never really was).

    34. Re:One space by utoddl · · Score: 2, Funny

      "Why not zero spaces?" Seriously, there's this guy who works in another building on our campus.He uses zero spaces between sentences.Whenever I see email from him I get angry.It's gotten to the point where I'm thinking where his building is would make a nice meteor crater.I know that's not healthy thinking.Zero spaces after sentences is annoying as all get out.

    35. Re:One space by fahrbot-bot · · Score: 3, Informative

      Oops, I guess an ellipsis can end a sentence too.

      In this case, 4 periods are actually used....

      --
      It must have been something you assimilated. . . .
    36. Re:One space by Anonymous Coward · · Score: 0

      An editor???? what the hell would you know???

    37. Re:One space by Martin+Blank · · Score: 1

      TeX and LaTeX, are happy to do that.

      Are they happy to remove random commas, too? :)

      --
      You can never go home again... but I guess you can shop there.
    38. Re:One space by matthewv789 · · Score: 1

      Give yourself RSI all you want, when whatever you type gets into a professionally-printed publication, it will likely have one space between sentences.

    39. Re:One space by Anonymous Coward · · Score: 0

      I've been a typer for 25+ years now. Two spaces

      When I took Typing class in 1974 (oh my god, 36 years ago next month), we were made aware of Two Spaces as an expectation on /some/ formal documents. It was already deprecated by then.

      Admittedly this was in Canada, which is fairly relaxed about formality compared to many countries. But the point holds that we shouldn't mislead younger /.'ers into thinking it was Standard just a generation ago. It was _a_ standard, but a holdover from the nib pen era when 'Typist' was a profession. By the 1970s it was common for any office worker to do a bit of typing, and the Two Space rule was considered an affectation rather than a clarifier.

      (Bummer HTML won't render your paired space, though. I hadn't noticed that, and it really ought to preserve your choice.)

    40. Re:One space by commodore64_love · · Score: 1

      >>>Professional typography uses one single space that is longer than the inter-word space

      That's probably where double-spacing originated. When typewriters were invented they wanted to mimic the typesetting of the presses, but they couldn't do 1.5 spacing so they used 2 spacing instead. And then the practice stuck. I first took Typing class in 1986 (7th grade), and that's what we were expected to do or else be red-lined by the teacher.

      Even when I later switched to Commodore 64's GEOS (Mac OS clone) with proportional spacing, I experimented with single spacing and decided the computer put sentences too close together, so I went back to double spacing again.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    41. Re:One space by commodore64_love · · Score: 1

      >>>>>Some of us aren't complete retards and recognize a full stop when we see one.
      >>
      >>in the past 10 years...

      Yeah that's really a long time. /end sarcasm. I've been typing since 1984 and there's probably many here typing longer than that. We do what we were originally taught to do by our teachers, and even though I've experimented with single spacing, I simply didn't like how close the sentences were to one another.

      Another thing I do, which is not common practice among most students or coworkers, is full justification. It makes the final document look neater. Perhaps ye think that's "wrong" but I really don't care. The poet ee cummings ignored the rules as well, and used the format he liked best.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    42. Re:One space by commodore64_love · · Score: 1

      >>>Some of us aren't complete retards and recognize a full stop when we see one.

      I'm not writing for you. I'm writing for lowest common denominator who will be reading my work. That would be somewhere around IQ 90, and they need the extra whitespace between sentences.

      It's also why we double space between lines, instead of single spacing, so the document is easier for the average person to read.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    43. Re:One space by morgan_greywolf · · Score: 1

      I can tell you that not only is a space narrower than an 'n', but it's also the same width regardless of if it comes after a period or not.

      Depends on the application. Certainly you're right for a lot of word-processing software, but with page layout applications like Scribus or QuarkXPress (on Mac or Windows), the applications have special handling for this.

      Without the geographical landmarks of extra white space scattered about a paragraph, I have a lot of difficulty returning instantly to wherever I was every few milliseconds; it can take several seconds to reorient my vision sometimes if a bug or some other piece of movement distracts me for the briefest fraction of a second.

      Furthermore, regardless of the number of spaces you insert, Slashdot only displays one space. ;)

    44. Re:One space by commodore64_love · · Score: 1

      I like 5 periods..... because Babylon 5 is my favorite show of all time.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    45. Re:One space by Anonymous Coward · · Score: 1, Informative

      point of fact: an ellipsis is not a collection of periods, but a single, distinct character in its own right.

    46. Re:One space by Draek · · Score: 1

      I wonder, then, whether I'm particularly brilliant or incredibly stupid, but for me double spacing makes a document significantly harder to read rather than the other way around. It makes my brain parse each line as a paragraph of its own, with terrible effects on my reading comprehension and speed.

      --
      No problem is insoluble in all conceivable circumstances.
    47. Re:One space by Draek · · Score: 1

      I'm not being snarky here. But I am thinking that the answer to the question "Why not zero spaces?" would be "Because that would make it harder to read".

      Same answer as to "why not four spaces?". The ideal should obviously lie in the middle, then, it just so happens that for some it's "two" while for others it's "one".

      --
      No problem is insoluble in all conceivable circumstances.
    48. Re:One space by fahrbot-bot · · Score: 1

      I like 5 periods..... because Babylon 5 is my favorite show of all time.

      Just so you know, the 4 dots(period + ellipses) between sentences suggestion was pulled from the Chicago Manual of Style, Ellipses sections 10.48-52 - not out of my ass :-)

      The actual rule depends on if the sentence is grammatically correct (4 dots, or other appropriate punctuation, and ellipses) or not (just ellipses).

      In addition, technically ellipses are written with a space between ". . ." not "...".

      --
      It must have been something you assimilated. . . .
    49. Re:One space by pyster · · Score: 1

      If I had points, or if I knew how to use them, I would mod this up.

    50. Re:One space by pyster · · Score: 1

      I've been typing since 1981. Single space. Always.

    51. Re:One space by pyster · · Score: 1

      Because it would look like one string of characters. ..."end.The"... would be look like a single word. This could make parsing text for various purposes a pain. Every character in an initialism such as "F.B.I." would be looked at as a single word string. It also would be a bit harder on the human reader.

    52. Re:One space by Anonymous Coward · · Score: 0

      The APA style guide 4th edition required two spaces after a period. The APA style guide 5th edition required one space after a period. Any guesses as to what the APA style guide 6th edition calls for? Two spaces. Why? It is more readable. Trust us - we actually have the skills necessary to prove this one (your millage may vary depending on font type, display modality, etc).

    53. Re:One space by Anonymous Coward · · Score: 0

      Hmmm, but have you been a good one? Two spaces for readability.

    54. Re:One space by Anonymous Coward · · Score: 0

      Technicaly, when you end a sentence with ellipses it takes four dots - the ellipses and the period.
      But that is rare because you don't normally end a sentence with ellipses, they signal a continuation of the sentence even if it is unwritten.

    55. Re:One space by FiloEleven · · Score: 1

      Should I trust the punctuational advice of someone who, according to his own statement, has a sentence fragment as his sig...? Hmm.

    56. Re:One space by fahrbot-bot · · Score: 1
      Technically, it's not my advise. It's from the Chicago Manual of Style, Ellipses sections 10.48-62. It describes two common methods of using ellipses. The first (10.50) uses three dots for any omission whether it be in the middle or between sentences. The second (10.51-59) -- and preferred by the CMS -- distinguishes between within and between and by sentence structure.

      Obviously, my original signature employed the first method. I just changed it to the second :-)

      --
      It must have been something you assimilated. . . .
    57. Re:One space by Anonymous Coward · · Score: 0

      But I am thinking that the answer to the question "Why not zero spaces?" would be "Because that would make it harder to read".

      How about "because it's grammatically incorrect"?

      Two spaces? Why stop there? Surely if two spaces make it easier to read, 6 spaces are even better!

    58. Re:One space by Anonymous Coward · · Score: 0

      & nbsp ; & nbsp ;

      without the spaces :)

    59. Re:One space by oh_my_080980980 · · Score: 1

      Technical writers, writing technical publications for engineering companies would STRONGLY disagree.

      So, two spaces.

    60. Re:One space by bluefoxlucid · · Score: 1

      Furthermore, regardless of the number of spaces you insert, Slashdot only displays one space. ;)

      I know. I don't read whole blocks of text in Slashdot very often; I skip sentences and come back, or wind up on the wrong line (reading the same line or skipping a line).

    61. Re:One space by RichiH · · Score: 1

      Dunno, I don't think I ever even heard about the whole two space thing and I never had any issues reading text.

    62. Re:One space by RichiH · · Score: 1

      > For example: two spaces are easier to visually parse than one. That's testable, verifiable, and reproducible.

      I read a _lot_ of text and I read fast. The examples on this page where two actual spaces were used made me pause in reading while my brain figured out what the hell just happened. I am sure I could get used to this, same as I got used to lines being spaced differently to make them align left & right and the slightly longer spaces some typesetters use after a full stop.

      All that being said, I am seriously considering to start using two spaces, but HTML foils that plan, so there...

    63. Re:One space by Bobb+Sledd · · Score: 1

      And when has logic ever had anything to do with typesetting/grammatical rules?

      For example, the rule is that the period always goes inside the quote. But what if you're quoting a password? Is the period part of the quote or not?

      >I said, my password is "this.and.that."

      Is there an actual extra period or not? I argue that logically it should be:

      >I said, my password is "this.and.that".

      Now it is clear what the password is.

      But no matter what I think, it isn't the rule!

      --
      "They said I probly shouldn't fly with just one eye," "I am Bender. Please insert girder."
    64. Re:One space by Tacvek · · Score: 1

      That depends entirely on the grammatical rules of the dialect you use. I use a dialect that is very similar to en-US-x-Hixie, although with some slight differences. Logical placement of punctuation is one of the unchanged rules.

      A few of my difference: such as using "belief" and "faith" in a more general sense, similar to his definition of "trust". The word "Y'all" is never permitted. Both "gray" and "grey" are acceptable spellings, but "grey" has a slightly darker connotation in my mind, but not particularly significant.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
  6. Monospaced or proportional by ThrowAwaySociety · · Score: 5, Informative

    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.)

    1. Re:Monospaced or proportional by Tumbleweed · · Score: 1, Insightful

      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.)

      That seems backwards to me. One space in a proportional font should be much smaller than one in a monospaced font. You'll get a HUGE difference between those two your way. Unless that is your intent, for some unknown reason.

    2. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      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.)

      Exactly. And to be absolutely pedantic:

      You type two spaces after the period that ends a sentence (one after the period that is used to abbreviate something in the middle of a sentence), and after a colon.

      Then you let the software render it correctly - as in render one space even if multiple whitespace characters are present (if the font is proportional), and render two spaces if ((two spaces are present following a period) && (the font is monospaced)).

    3. Re:Monospaced or proportional by eln · · Score: 1

      I disagree. Even with proportional fonts one space at the end of a period makes the text look crowded. I like to have an easily distinguishable end to a sentence, and a tiny period (which can be nearly invisible depending on the typeface, size, and which letter immediately precedes the period) followed by a single space can be very difficult to distinguish, especially in a relatively large (more than 5 or 6 lines) block of text.

      I don;t know about anyone else, but when I was learning to write by hand (before anyone except aspiring secretaries learned typing in school) I was taught to leave more space after a period than between individual words. The two-space convention is more a reflection of that need for separation between sentences than something necessitated by fixed width fonts, and that need is not diminished (if anything, it's even more pronounced) with proportional fonts.

    4. Re:Monospaced or proportional by Zocalo · · Score: 4, Funny

      You forgot about the special case where you should use variable amounts of spaces, at random, to add to the horror that is is Comic Sans.

      --
      UNIX? They're not even circumcised! Savages!
    5. Re:Monospaced or proportional by JesseMcDonald · · Score: 2, Insightful

      I disagree. Even with proportional fonts one space at the end of a period makes the text look crowded.

      If that's true, why do you only use a single space in your comments?

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    6. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      The appearance of a page using either spacing protocol is entirely subjective. I feel the complete opposite way to you.

      However, I work in publishing. You can tell the old-timers (aged fifties or higher) that submit articles -- double spaces after each sentence, as if they were still using a typewriter. People that were brought up with wordprocessors, on the whole, use one. One space is how everything is edited, and it's house style -- and also every single client's style.

      Double spacing is dying, in my experience anyhow. YMMV.

    7. Re:Monospaced or proportional by albedoa · · Score: 1

      With whom are you disagreeing? Have you considered that? The OP wasn't discussing what your personal preference is; he was discussing the correct form. You're using your taste as a counter-argument to fact.

    8. Re:Monospaced or proportional by Improv · · Score: 4, Interesting

      I was about to say the same thing. Because in fixed-width the period is so small, the space to the right of it in its block plus the space amounts to quite a lot of room. In proportional fonts, you don't need to worry so much.

      I am accustomed to working with and thinking about text through a terminal window - as a result I always singlespace my sentences now.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    9. Re:Monospaced or proportional by Improv · · Score: 1

      I'm not sure we're working from the same playbook - on this matter, there is not a strong consensus that a correct form exists. One can either decide one likes a particular authority and point to them (not unprecedented in matters like spelling, and probably fine on matters where it's a lone guy with weird ideas about grammar or punctuation) or make an aesthetic argument.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    10. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      No because a typeface is (should be) designed with spaces in mind. Two spaces on a proportional font will look err.. out of proportion, to two spaces on a mono-spaced font where all the characters are the same width. My own personal experience with this is ignorance (my Pa taught me this was the way or 'I lernd it a skool' - which usually means they learnt typing or word processing on a green screen) without any thinking it through why someone tells them to make two instead of one space.

      As someone who worked in 'old fashioned' typesetting for years and had to turn monospaced copy into copy that had to fit a specific width and length, believe me, two spaces can make a huge difference not only in appearance but also in white space on a page of text. When we moved to cut/paste of bromide paper again it made a huge difference.

      If you still believe it is backward then take two sentences in a proprotional font and make two spaces after the full point. Then blow it up huge.

      I guess after years of copy typesetting both in leaded and electronic eras (QuarkXpress pretty much killed off the beauty of typesetting for me when people would just 'autokern' whole lines without any thought - but it just fits the box so much nicer now) I can spot a double space at a hundred yards...hell I can even spot the difference of half a point size in a block of text.

    11. Re:Monospaced or proportional by horigath · · Score: 1

      If your typeface makes your periods “nearly invisible” and your sentences “very difficult to distinguish”, your problem is not the number of spaces. Use a different typeface or fire your designer.

      Meanwhile, the jury is out on whether one or two spaces makes text easier to read, but having gaps in your paragraphs—which is here your justification for double-spacing—has been shown to slow reading and reduce comprehension. Don't do it.

    12. Re:Monospaced or proportional by eln · · Score: 1

      Correct according to who? I've taken college classes as recently as this semester (taking one tonight, actually) where the form taught is two spaces after each sentence. The one space thing seems like a wholly unnecessary change to an already established standard. I'm actually surprised that the wikipedia page says the single space standard has been around so long, because in all of my schooling I had never heard of it and I'm only in my early 30s.

    13. Re:Monospaced or proportional by mzs · · Score: 1

      What are you even saying? Here is are some sentences in a proportional font where I put 0-5 spaces after the sentence:

      Lameness filter is lame.m 0 spaces after sentence.
      Lameness filter is lame. m 1 spaces after sentence.
      Lameness filter is lame. m 2 spaces after sentence.
      Lameness filter is lame. m 3 spaces after sentence.
      Lameness filter is lame. m 4 spaces after sentence.

      1-5 spaces all begin the m at the second vertical line of the m with 0 space before it. Do you see that it makes no visible difference in this case where you use 1 or 2 spaces at the end of a sentence, not even 5 spaces makes a difference. Using two spaces doesn't make it look any less crowded.

    14. Re:Monospaced or proportional by Tumbleweed · · Score: 2, Insightful

      No because a typeface is (should be) designed with spaces in mind.

      Yeah, the world should be a better place, but...

      I've seen all too many (very popular) proportional fonts that even with two spaces, LOOK like one. And kerning seems to be a lost art these days. Ugh.

    15. Re:Monospaced or proportional by HTH+NE1 · · Score: 1

      render two spaces if ((two spaces are present following a period) && (the font is monospaced)).

      And what of question mark and exclamation point? colon? What of a quoted phrase ending in terminal punctuation before the closing quote? There's also continuation of sentence after question mark not employing capital letter to consider. Are we to always have trailing whitespace at the end of a paragraph?

      What about forestalled sentence termination due to interrup-- Hey, I'm talking here!

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    16. Re:Monospaced or proportional by albedoa · · Score: 1

      Your argument against the technical reasons why you shouldn't do something is based around your personal taste. You're using your subjective preference (and nobody else's) as a counter-argument against absolute reasons. This isn't "I like it this way/Well I like it this way". It's "These are the facts/Well I disagree because of my opinion". There might not be a consensus about the correct form, but it certainly wouldn't be based on one person's aesthetic taste.

    17. Re:Monospaced or proportional by mobby_6kl · · Score: 1

      Thanks to the magic of HTML, we can see this effect right here!

      Here's a monospaced dot. It is followed by another sentence.
      And here's a proportional dot. That is, unless you changed your browser default to a monospaced font.

      Unfortunately slashcode strips out &nbsp so I couldn't test the double space here, but I think this demonstrates the issue sufficiently.

    18. Re:Monospaced or proportional by albedoa · · Score: 1

      The change was necessary because the old standard was based on technical limitations. You can be told to use two spaces by every professor you ever encounter and still be wrong to do so. That's nothing to be ashamed of so long as you are willing to understand why you were wrong and willing to correct your habits. You don't keep doing things just because that was how it used to be done. These arguments that people are coming up with are so strange to me.

    19. Re:Monospaced or proportional by Improv · · Score: 1

      "What does it mean to be correct on this matter?" "A certain body with which one associates or to which one agrees to be bound agrees, or alternatively there is broad consensus with insignificant dissent"
      "And when one argues that one usage is correct?"
      "Either one of the above is true, or one is asserting one's position on the manner in a way that one hopes others will simply accept, in order to try to make the second true"

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    20. Re:Monospaced or proportional by nordee · · Score: 1

      No, that's right. Because all the characters are the same width (including the small ones like "i" and "." using two spaces with a mono-spaced font makes the whitespace after a period more apparent, because there is more whitespace around the letters in general.

      Of course, I'm in the 1-space camp, but there is a visual reason for having two spaces in a monospaced font.

      --
      still no sig
    21. Re:Monospaced or proportional by arielCo · · Score: 2, Insightful

      Read above, re HTML collapsing multiple spaces into one. He'd have to type one of the two as  .

      --
      This post contains no rudeness or derision of any kind. All arguments are friendly. Terms and exclusions may apply.
    22. Re:Monospaced or proportional by Tumbleweed · · Score: 1

      I think this demonstrates the issue sufficiently.

      Indeed. For me, the space after the monospaced period is noticeably wider than the one after the proportional period, thus I would put two spaces after a proportional period and one after the monospace, if you wanted them to 'look' equal. I don't bother with that, though - I always just use one space. Depends on what you're trying to do, though. I like one space for ease of typing and for ease of pattern matching.

    23. Re:Monospaced or proportional by SleazyRidr · · Score: 4, Insightful

      Probably because html strips out the second space, and slashcode won't recognize &nbsp.

    24. Re:Monospaced or proportional by eln · · Score: 1

      The problem is the only reasons I'm hearing for the single space is because that's the way you do it in professional typesetting. Well, I'm not a professional typesetter, the stuff I write is not intended to be blown up huge or put into a paperback novel. It's generally for reading from a screen or printing out on paper with ragged right margins. In both of those cases, the double space helps readability. The major argument for the single space that I can see is that it allows typesetters to more easily play with the exact spacing to get things to look right in whatever medium they're working in. For me, that argument is completely irrelevant to anything I do. The argument *for* two spaces, that it makes the ends of sentences more clear, is a lot more logical to me.

    25. Re:Monospaced or proportional by albedoa · · Score: 1

      And this is why the technical reasons seem more logical to me. Your argument for two spaces is the same argument for three spaces and ten spaces and is a subjective matter, and the subjectivity of the users and readers of typefaces and type renderers should be a consideration of the ones designing the typefaces and renderers. If you have to circumvent technical standards in order to be readable, then the problem isn't about whether two spaces are used.

    26. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      As you should know, HTML strips out anything more than a single consecutive whitespace character .

    27. Re:Monospaced or proportional by amicusNYCL · · Score: 1

      You're saying that it's correct to need to edit your document when you change the font? How does that make any sense?

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    28. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      I disagree. Even with proportional fonts one space at the end of a period makes the text look crowded.

      You have a dumb word processor, then. Even when typesetting, proportional fonts supported more than one type of space, just like there's an "em-dash" and and "en-dash". Any civilized word processor these days should be capable of placing an aesthetically pleasing amount of space at the end of a sentence, just like it should be aware of common abbreviations and space less after the period there.

      Of course, an actual typesetting program should also attend to things like kerning and ligatures, but that's another matter entirely.

      And of course, there's also a difference between spacing and space characters. But space characters are for ASCII files, not documents.

    29. Re:Monospaced or proportional by bluefoxlucid · · Score: 1

      Doesn't demonstrate sufficiently. A block of several lines of non-justified text is different than one line of sentence text. The readability suffers with single-spacing when reading a large multi-line paragraph.

    30. Re:Monospaced or proportional by ThrowAwaySociety · · Score: 1

      I was about to say the same thing. Because in fixed-width the period is so small...

      What? Here, take a look:


      WWWWW
      .....

    31. Re:Monospaced or proportional by Improv · · Score: 1

      And? Do you think I haven't seen this countless times when I was making the point? The period takes up a small portion of its box in a fixed-width font. There's space to the left and space to the right of it - much more space than other characters. As a result, dot-space looks completely fine in a fixed-width font.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    32. Re:Monospaced or proportional by Improv · · Score: 2, Informative

      Oh, p.s. if, considering my argument below, you really prefer standards bodies above the consensus route, "The Chicago Manual of Style (1), the AP Stylebook (2), and the Modern Language Association (3) all recommend using one space after a period at the end of a sentence. ", as noted by "Grammar Girl" at:

      http://grammar.quickanddirtytips.com/spaces-period-end-of-sentence.aspx

      (she provides references to back up that assertion).

      I should note that I'm more of a "rough consensus" guy myself and that this is a matter where I don't think there's a right answer between one and two -- I think reasonable people may disagree and that it comes down to style.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    33. Re:Monospaced or proportional by mobby_6kl · · Score: 1

      I didn't mean the whole 1 vs 2 spaces issue as raised by the article, that's up to somebody with too much time on their hands to debate. This was just to show that the dot and one space in a monospaced font are about as wide as a dot and two spaces in a proportional font. Maybe even more depending on the fonts involved.

    34. Re:Monospaced or proportional by nabsltd · · Score: 2, Informative

      What about forestalled sentence termination due to interrup-- Hey, I'm talking here!

      I believe the correct way to format that last bit is: due to interrup—Hey, I'm talking here!

      Unlike the question of how many spaces should be used after a period, the n-dash and m-dash are punctiation marks. As such, they have rules for use that are much more hard and fast. One of those is that there should be no space between the letters on either side of the dash and the dash itself. This rule applies to all dashes (hyphen: twin-engine, n-dash: 9–5, m-dash: Shatner—is speaking).

    35. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      Then you let the software render it correctly - as in render one space even if multiple whitespace characters are present (if the font is proportional), and render two spaces if ((two spaces are present following a period) && (the font is monospaced)).

      That's a beautiful dream world you live in, but here on Earth we have stuff like mail clients and Word that render two successive spaces as, well, two spaces. (Which to me occasionally actually interrupts reading a small amount, but I'm a one-space guy.)

    36. Re:Monospaced or proportional by Anonymous Coward · · Score: 0

      Yes... Mod this up. This is the correct answer.

    37. Re:Monospaced or proportional by c++0xFF · · Score: 1

      And? Do you think I haven't seen this countless times when I was making the point?

      No pun intended, I suppose?

    38. Re:Monospaced or proportional by blair1q · · Score: 1

      That's because if you're using a proportional font your machinery is kerning the sentences for you. It will put more space between them than it does between words.

    39. Re:Monospaced or proportional by Improv · · Score: 1

      I will let my subconscious claim credit for this one - I didn't see it until you pointed it out.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
    40. Re:Monospaced or proportional by JesseMcDonald · · Score: 1

      Yes, yes. I'm aware of HTML spacing conventions. My point was simply that single spaces have become a de facto standard, used in practice even by those who express support for two spaces, and we appear to have adapted to it just fine. Ergo, the extra spaces are simply redundant.

      Also,   doesn't work here.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    41. Re:Monospaced or proportional by arielCo · · Score: 1

      Got it, and I agree. My bottom line: looks neat sometimes, not always worth the bother.

      I might use it if the typesetting app manages it automatically and flawlessly. E.g., if it all it does is insert an additional space instead of setting the existing space wider, then no thanks.

      --
      This post contains no rudeness or derision of any kind. All arguments are friendly. Terms and exclusions may apply.
    42. Re:Monospaced or proportional by stewbacca · · Score: 1

      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.)

      This is the only post that was needed in this entire thread. Double space stems from monospaced typefaces available with early typewriters.

      I still do two spaces out of habit. When the font choice I've used makes the extra space obvious, I got back and take them out.

      APA writing style recommends one space, but if you choose to do two space (out of old habits, perhaps), you should be consistent.

    43. Re:Monospaced or proportional by stewbacca · · Score: 1

      When you have monospaced fonts, every character takes up the exact amount of space, including the space bar space. Therefore, a space does not stand out, because it's the same width as everything around it. Making two spaces makes an obvious break in the long string of monospacing.

    44. Re:Monospaced or proportional by Tumbleweed · · Score: 1

      When you have monospaced fonts, every character takes up the exact amount of space, including the space bar space. Therefore, a space does not stand out, because it's the same width as everything around it. Making two spaces makes an obvious break in the long string of monospacing.

      That's a good theory, but when compared to one space in a proportional font, one space in a monospace font is still much wider than one space in a proportional font. One space in a proportional font usually doesn't look like enough space to me, but most proportional fonts these days are also kerned VERY badly to my eye.

    45. Re:Monospaced or proportional by tzot · · Score: 1

      Does it strip n-spaces (   ) too? It seems so.

      --
      I speak England very best
    46. Re:Monospaced or proportional by stewbacca · · Score: 1

      It's not the amount of space, it's the difference in the spaces between letters. Proportional typefonts don't need the extra space, because their spaces aren't lost in a sea of equally spaced fonts.

    47. Re:Monospaced or proportional by Tumbleweed · · Score: 1

      It's not the amount of space, it's the difference in the spaces between letters. Proportional typefonts don't need the extra space, because their spaces aren't lost in a sea of equally spaced fonts.

      In theory, yes, in practice, not quite. Fonts are kerned very badly these days, and one space is often winding up looking like half a space, and the space between letters (with no 'space' character between them) is often looking like half a space.

    48. Re:Monospaced or proportional by ThrowAwaySociety · · Score: 1

      And? Do you think I haven't seen this countless times when I was making the point? The period takes up a small portion of its box in a fixed-width font. There's space to the left and space to the right of it - much more space than other characters. As a result, dot-space looks completely fine in a fixed-width font.

      Wow. Just...wow.

      THE PERIOD IN A MONOSPACED FONT IS AS WIDE AS A FUCKING 'W'. IT IS NOT FUCKING SMALL. In a monospaced font, all characters are the same width; hence there are no "small" characters in a monospaced font. Your assertion that a monospaced period is "small" is therefore demonstrably false.

      So, in a monospaced font, you need two spaces to (visually) compensate for the wider space. A single space would be lost next to the huge gaping negative visual space surrounding the period.

      In a proportional font, the period has no extra padding, therefore no extra spacing is needed after the period.

    49. Re:Monospaced or proportional by Improv · · Score: 1

      The black bit of a period in monospace has more white space on either side than in any other character. When you add yet more white space to it, you find there's a lot of whitespace after the black bit in a monospace ". " combination. Proportional fonts lack that padding.

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
  7. Sentence stretching? by Anonymous Coward · · Score: 1, Informative

    Sentences are not stretched, paragraphs are.
    (and they have their own invisible sign(s))

  8. Twice by jockeys · · Score: 2, Interesting

    Old enough to have typed on a typewriter as a child, so twice.

    As an interesting note, the iPhone auto-enters a period when you double space, so the tradition is still partially alive, at least.

    --

    In Soviet Russia jokes are formulaic and decidedly non-humorous.
    1. Re:Twice by AndyAndyAndyAndy · · Score: 2, Informative

      As an interesting note, the iPhone auto-enters a period when you double space, so the tradition is still partially alive, at least.

      True, but it inserts a single space with that period.

      --
      It's always confirmation bias!
    2. Re:Twice by Anonymous Coward · · Score: 0

      Yet, the iphone leaves only one space if you let it auto-punctuate.

    3. Re:Twice by Ksevio · · Score: 1

      But on the other hand, HTML condenses all spaces into one, so we're kind of losing ground there.

    4. Re:Twice by Col.+Klink+(retired) · · Score: 1

      BlackBerries do the same.

      --

      -- Don't Tase me, bro!

  9. Same as paragraph spacing by rwa2 · · Score: 1

    I always used 1.5 lines between paragraphs. So I don't see why you shouldn't use 1.5 spaces after ending a sentence.

    But seriously, it's pretty much exactly the same problem... a single space between paragraphs might not be distinguishable between, say, a new entry on a list, especially lists with long items that don't make use of indentation. So you need a separate paragraph marker. Similarly, we need a way to distinguish between abbreviation periods and sentence-ending periods. A period followed by a half-space sounds perfect!

    And as mentioned in the wikipedia link, any whitespace beyond the first is treated as a single whitespace anyway, with HTML / XML / TeX, etc. (Oh noes, I just did an abbreviation and sentence-ending period in one!) I remember being slightly annoyed by how LyX wouldn't register more than one space anywhere in your document (unless it was a special nobreakspace character)... I would just keep hitting space and it would ignore me after the first. But I think that helps get the point across.

    1. Re:Same as paragraph spacing by maxwell+demon · · Score: 1

      And as mentioned in the wikipedia link, any whitespace beyond the first is treated as a single whitespace anyway, with HTML / XML / TeX, etc.

      Unless you explicitly ask for french spacing, LaTeX creates a larger space after points in the output (because it assumes that it marks the end of a sentence). This also means that you have to specially treat dots from abbreviations to prevent this (with backslash space instead of simply space in the source code).

      --
      The Tao of math: The numbers you can count are not the real numbers.
  10. this is a serious question? by waddgodd · · Score: 1, Funny

    I don't know what about an IBM model M and a selectric keyboard implies that there's any difference at all in how you use them. Standard typography has evolved to two spaces between sentences, PERIOD. This is not up for discussion, nor should it be. There's no significantly new information that implies that this should change, except that more and more people are freaking lazy, and language should not evolve because of laziness. Man up, hit that spacebar twice, and quit whining

    --
    Just because you're paranoid doesn't mean they aren't out to get you
    1. Re:this is a serious question? by Myopic · · Score: 1

      I can see you are a professional typesetter. No, wait, I can see you aren't. First of all, this isn't quite a settled question for the reason that there are still living people who learned to type on typewriters (such as you, I suspect). Second of all, standard typography has evolved TO one space, FROM two spaces, not the other way around. I base this on modern language guides, and I can't think of any other way to determine what language has evolved toward. Third of all, there IS significant new information that implies this convention should change, and that is the invention of the computer. Fourth of all, people like one space instead of two because it looks better, is more standard, and is easier to read, not because they are lazy. Fifth and finally, a point we agree on, is that I concur that laziness should not drive language evolution; but of course I recognize that it does, though not in this case.

  11. Depends on the font by jpatters · · Score: 4, Informative

    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."
    1. Re:Depends on the font by pz · · Score: 1

      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.

      If you are using a proportional font, the word processor you are using should be making spacing decisions for you, so it does not matter if you use one or two spaces after a period. At least some systems (like TeX) do a far better job than can be done in a reasonable time by hand.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    2. Re:Depends on the font by Anonymous Coward · · Score: 0

      You're assuming that a given piece of text will forever appear in exactly one font. In traditional typewriting, this was probably true, and furthermore the font was probably monospaced (nonproportional). As a result, it was common practice to put two spaces after a period. In the electronic world, fonts can change and may be proportional or not. Formatting is (or should be) controlled by more sophisticated mechanisms than inserting spaces, so one space is preferred.

    3. Re:Depends on the font by Marc_Hawke · · Score: 1

      What if you type it in one font and then someone else changes the font? Should they go through and correct all the line endings for you?

      --
      --Welcome to the Realm of the Hawke--
    4. Re:Depends on the font by VisceralLogic · · Score: 1

      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.

      If it's monospaced, two spaces looks ridiculously empty. A space on a proportional font is much smaller, making a double space between sentences look appropriate.

      --
      Stop! Dremel time!
  12. a suggestion by Anonymous Coward · · Score: 0

    Here's a suggestion. Go pick up any book or magazine that's produced by a real publisher. Now count how many of them use double-spaces between sentences. Chances are the number will remain zero by the time you're done counting.

    1. Re:a suggestion by Anonymous Coward · · Score: 2, Informative

      Actually, there are multiple types of spaces in typesetting, with multiple widths. A properly typeset book will use a single em-space (a widened space approximately the width of the letter "m") between sentences and a narrower space between words. FWIW.

    2. Re:a suggestion by Anonymous Coward · · Score: 0

      Actually, there are multiple types of spaces in typesetting, with multiple widths. A properly typeset book will use a single em-space (a widened space approximately the width of the letter "m") between sentences and a narrower space between words. FWIW.

      Trust me, I'm well aware of em-spaces, en-spaces, thin spaces, hair spaces, 1/3-em spaces, 1/4-em spaces, &c &c &c. The point is that you will just about never find a professionally-published book or magazine that uses double-spaces after a sentence.

    3. Re:a suggestion by ggeens · · Score: 1

      Trust me, I'm well aware of em-spaces, en-spaces, thin spaces, hair spaces, 1/3-em spaces, 1/4-em spaces, &c &c &c. The point is that you will just about never find a professionally-published book or magazine that uses double-spaces after a sentence.

      I checked a couple of (English) books in my library, and all of them used single spaces after a sentence. Except for The TeX Book. (I didn't check other TeX-related books, but I guess they would do the same.) AFAIK, English is the only language that used to have the "double space after a sentence". To me (a non-native English reader), using 2 spaces in a monospaced text just looks weird. In a book, it doesn't distract that much.

      In typesetting, there is no such thing as "two spaces". There is just space between words, and that space would be larger or smaller in order to justify the line. Some spaces (like the ones after a sentence) would be made larger or smaller to keep in line with special typesetting rules.

      The concept of whitespace as a character didn't exist before computers, where it was needed to keep words apart.

      --
      WWTTD?
    4. Re:a suggestion by Anonymous Coward · · Score: 0

      I believe the narrower space is called an en-space, the width of an n ;)

  13. Not just problem for automatic parsers by CannonballHead · · Score: 3, Insightful

    It's easier for a human to determine sentence structure when sentences are set apart by two spaces, too.

    1. Re:Not just problem for automatic parsers by albedoa · · Score: 1

      This is also an argument for separating sentences by three spaces and ten spaces.

    2. Re:Not just problem for automatic parsers by Beezlebub33 · · Score: 1

      No, it's easier for a human to determine sentence structure when the sentences have more space between them, which does not necessarily correspond to two spaces. As pointed out above, with modern typesetting and proportional width fonts you get the 'right' amount of spacing between sentences whether the human puts in one or two spaces.

      --
      The more people I meet, the better I like my dog.
    3. Re:Not just problem for automatic parsers by quacking+duck · · Score: 1

      Five random novels on my shelf and a national newspaper suggest otherwise about humans.

      In all of them, sentences are separated by a single space after a period.

    4. Re:Not just problem for automatic parsers by CannonballHead · · Score: 1

      That is true. If you want to argue for changing the "rule" to three spaces, be my guest. I'm just arguing against one space. Furthermore, given the two options - one or two - I was arguing for two. :)

    5. Re:Not just problem for automatic parsers by CannonballHead · · Score: 1

      I didn't say humans couldn't adapt. I'm not sure that your evidence suggests what is easier for humans ... perhaps what is more economical?

      Page margins make a big difference, too. And bindings. But I'm sure publishing companies certainly don't change those based in the money it costs to do them in certain ways ;)

    6. Re:Not just problem for automatic parsers by JesterJosh · · Score: 1

      Says who? This is not insightful. This is someone's bias.

  14. One space. by Anonymous Coward · · Score: 0

    What does two spaces get you? Nothing. So why waste the time.

    When rendered, HTML is supposed to condense all white space down to a single space anyways.

  15. 2. Duh. But... by slgrimes · · Score: 3, Interesting

    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.
  16. The Slashdot Community Thinks... by Bieeanda · · Score: 5, Funny
    ...that you need to get out more. Adopt a dog. Maybe find a girlfriend.

    Seriously, dude. We're starting to worry about you.

    1. Re:The Slashdot Community Thinks... by noidentity · · Score: 4, Funny

      Adopt a dog. Maybe find a girlfriend. Seriously, dude. We're starting to worry about you.

      Oh damn, that's where I went wrong. I thought I was supposed to find a dog and adopt a girlfriend. The latter encounter didn't end well.

    2. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      you can adopt a girlfriend?

      oh man why didnt I know this sooner

    3. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      adopt a girlfriend...kinky

    4. Re:The Slashdot Community Thinks... by MBGMorden · · Score: 1

      and adopt a girlfriend. The latter encounter didn't end well.

      Then you're doing it wrong. Just ask Woody Allen. You just have to wait 18 years for your investment to mature.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    5. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      Ah, the ol' Woody Allen. It worked out fine for him - though it's still creepy.

    6. Re:The Slashdot Community Thinks... by snspdaarf · · Score: 1

      Oh damn, that's where I went wrong. I thought I was supposed to find a dog and adopt a girlfriend. The latter encounter didn't end well.

      Woody Allen, is that you?

      --
      Why, without your clothes, you're naked, Miss Dudley!
    7. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      Adopt a dog. Maybe find a girlfriend. Seriously, dude. We're starting to worry about you.

      Oh damn, that's where I went wrong. I thought I was supposed to find a dog and adopt a girlfriend. The latter encounter didn't end well.

      Well you could go all Woody Allen and date your girlfriend's adopted dog. Or whatever.

    8. Re:The Slashdot Community Thinks... by gravis777 · · Score: 1

      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?"

      Learn how to type. You sound like a teenager who uses acronymns in their English paper, and when they get an F on it, just complain "Well, the word processor didn't correct it for me".

      As far as using one space or two, I have seen a few word processors that won't let you do two. I have seen some that, if you have a period followed by a space and a capital letter, it will add an extra space. Truthfully, I don't think it really matters. Just learn how to type, and quit expecting the word processor to fix everything for you.

    9. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      Oh damn, that's where I went wrong. I thought I was supposed to find a dog and adopt a girlfriend. The latter encounter didn't end well.

      Worked fine for Woddy Allen.

    10. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      "...that you need to get out more. Adopt a dog. Maybe find a girlfriend.
      Seriously, dude. We're starting to worry about you."

      I did have a girlfriend, but she said she need her space.

    11. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      I thought I was supposed to find a dog and adopt a girlfriend

      It worked for Woody Allen.

    12. Re:The Slashdot Community Thinks... by Zalchiah · · Score: 1

      I know, apparently you have wait years after the girlfriend has been weaned from her mother before you can take her home and start teaching her tricks.

    13. Re:The Slashdot Community Thinks... by Anonymous Coward · · Score: 0

      Woody Allen would like a word with you.

    14. Re:The Slashdot Community Thinks... by antdude · · Score: 1

      Outside? Outside is overrated. Girlfriend, hmm! Sure. I will take a hot/cute one. Do you have a an adult/legal virgin to give to me? :)

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  17. OLD NEWS (1989) by starglider29a · · Score: 5, Informative
    http://www.amazon.com/Mac-not-typewriter-professional-level-Macintosh/dp/1877932051/ref=sr_1_4?s=books&ie=UTF8&qid=1280942506&sr=1-4

    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.

  18. Two spaces by Anonymous Coward · · Score: 0

    That "article" is wikipedia. It holds no merit with me.

  19. What article? by Anonymous Coward · · Score: 0

    Since when is Wikipedia a valid source to cite? If you change your mind after reading something there I need to get started on a page that sells bridges.

    1. Re:What article? by aitikin · · Score: 1

      Since when do we have to cite valid sources on Slashdot?! Come on AC, you've been here longer than me!

      --
      "Don't meddle in the affairs of a patent dragon, for thou art tasty and good with ketchup." ~ohcrapitssteve
  20. What battle!!!! by Anonymous Coward · · Score: 1, Insightful

    A epic battle? Where! There is only a link to wikipedia FFS!! And even then its still more history orientated! Nor has it anything to do with programming!

    This isnt news, this is bollocks!

    1. Re:What battle!!!! by Anonymous Coward · · Score: 1, Funny

      Yes - but is it one bollock or two bollocks?

  21. Word processor? by TheRaven64 · · Score: 4, Insightful

    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
    1. Re:Word processor? by Anonymous Coward · · Score: 0

      In many computer-related uses, such as README files or changelogs in software engineering, one still encounters monospace fonts and displays which respect the number of spaces inserted by the author. Most of the discussion, including the Wikipedia article, seems focused on what to do in a proportional font, typeset setting, but I'd be curious if the guidance is just as strongly in favor of single space in the persistent monospaced usage.

    2. Re:Word processor? by inKubus · · Score: 1

      Exactly, the typesetter should handle it. I like to TYPE two spaces because it rythmically ends each sentence and enables me to move to the next thought. Some people excessively use two-dot elipses for the same effect, to the detriment of the reader..

      --
      Cool! Amazing Toys.
    3. Re:Word processor? by TangoMargarine · · Score: 1

      I've always wondered what those "two-thirds of an ellipsis" things were supposed to mean...

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    4. Re:Word processor? by Anonymous Coward · · Score: 0

      This great in theory but even Latex interprets whitespace as meaningful (sometimes).

  22. Use LaTeX. by R.Mo_Robert · · Score: 4, Insightful

    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
    1. Re:Use LaTeX. by Anonymous Coward · · Score: 0

      I agree. If you must use Word, use two spaces because Word is terrible and it's harder to read if you don't. Wherever possible use LaTeX and it will look 1000x better without having to manually put in two spaces between sentences. I have to use Word at work for report writing and it's brutal. These are often long reports with many figures and cross-references. Word is inapporipriate for this and should only ever be used for quick, trivial documents.

    2. Re:Use LaTeX. by WillAdams · · Score: 5, Informative

      Not really fringe cases, and requires a bit of effort, unless one uses \frenchspacing (which is not the default) so one _will_ need to think about it, since TeX by default adds more space after a period, so one must indicate which periods do not require additional spacing, e.g.:

      Dr.\ Knuth was very concerned with the typography of his published articles and books. This resulted in his development of \TeX\ when early systems for page composition were unable to match the old styles. While it handles many things automatically, it does require a certain attention in the preparation of the text, i.e.\ indicating normal width spaces by preceding them with a backslash.
      \vfill\eject\bye

      William

      --
      Sphinx of black quartz, judge my vow.
    3. Re:Use LaTeX. by Hatta · · Score: 1

      Since periods that end sentences are more common than periods that do not, it requires less effort to mark up the periods that do not end sentences. As a beneficial side effect, it doesn't matter how many spaces you end your sentences with.

      This is probably the best solution possible, as asking LaTeX to decide which periods end sentences would require an English comprehending AI.

      --
      Give me Classic Slashdot or give me death!
    4. Re:Use LaTeX. by Anonymous Coward · · Score: 0

      Apologies for the fact that my editing skills are Epic Fail.

      -R.Mo

    5. Re:Use LaTeX. by kabloom · · Score: 1

      I try to use carriage returns to end sentences. LaTeX doesn't care, but diff thanks me.

    6. Re:Use LaTeX. by Tacvek · · Score: 1

      True, but a better set of heuristics could slightly improve the current system.

      A construct where there is a full stop in the middle of the word and at the end could be presumed to be an acronym, and not be considered the end of the sentence.
      However, if the word and the final period are in different fonts or styles, then assume it is the end of the sentence, like in the following case: "Open the file named {\tt settings.bak}."

      More heuristics like those may be detrimental though, since people we rely on them, and never think to check the spacing (unless they are typography obsessed), and thus the cases where the heuristics fail may be forgotten.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    7. Re:Use LaTeX. by swebster · · Score: 1
      There is also the ~ character which prevents enlarging the space and also prohibits a linebreak, eg. Dr.~Knuth

      The \@ code is for when a period is used after an upper case character and actually ends a sentence (rather than being used for an abbreviation), eg. I like BASIC\@. What about you?

    8. Re:Use LaTeX. by Anonymous Coward · · Score: 0

      Use tildes instead of backslash-escaped spaces. Writing it as Dr.~Knuth tells LaTeX that the period is not the end of the sentence but part of a title like Dr. or Ms. and that it probably shouldn't put a line break in between Dr. and Knuth.

    9. Re:Use LaTeX. by BitZtream · · Score: 1

      So you just ignore the previously defined rules and accept the new, incorrect ones imposed by LaTeX?

      Just because something generates it wrong doesn't make it a feature or the way it should be.

      To go one step further, that very 'automatic' handling of spacing also needs to be overridden ... ALL THE TIME in common text so you really gain nothing, you have to specify what you want either way.

      Now the additional, broken, rules that LaTeX imposes are causing more problems than they are fixing.

      You may think this is a good thing, in my world, computers don't try to fix problems automatically for the user UNLESS they are certainly right, which LaTeX does not know enough about the english language rules to determine. That means its not a feature, its a flaw masquerading as a feature.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    10. Re:Use LaTeX. by WillAdams · · Score: 1

      Excellent point --- that's why I always put \frenchspacing in my files.

      --
      Sphinx of black quartz, judge my vow.
    11. Re:Use LaTeX. by stereoroid · · Score: 1

      OK, as long as the main advantage of LaTeX is understood: that it separates content from presentation, just as HTML is supposed to. It doesn't matter whether you put one or two spaces in as you type: LaTex has separate rules for sentence spacing, and a sensible default, which is to add more space at the end of a sentence. That one \frenchspacing statement, at the top of a document, turns it off for the entire document, including sub-documents.

      --
      (this is not a .sig)
    12. Re:Use LaTeX. by CeruleanDragon · · Score: 1

      Unless you're allergic, then you should use ViNyL.

      --
      ad astra per alia porci
    13. Re:Use LaTeX. by CeruleanDragon · · Score: 1

      Oh man, I'm so going to write up a new text editor based on vi called viNYL or vi.nyl or some such. I don't care how crappy it turns out.

      --
      ad astra per alia porci
  23. Two spaces by loudheart · · Score: 1

    I use two space characters for writing up a document while a single space character for writing up a HTML file.

  24. One by mseeger · · Score: 4, Funny

    During the early area of the internet (around 1990) i held courses and taught new users, how to use the "blank" correctly. Rules were:

    • no space before ")" and ",",
    • no space after "(" and
    • one space after "." and ",".

    People who didn't followed the rule were convicted for excessive blanking.... at least here in germany.

    CU, Martin

    1. Re:One by Farmer+Tim · · Score: 1

      People who didn't followed the rule were convicted for excessive blanking

      Damn straight, blank the blanking blankers!

      --
      Blank until /. makes another boneheaded UI decision.
    2. Re:One by Anonymous Coward · · Score: 0

      It's not just a good idea, it's DIN 5008.

    3. Re:One by zill · · Score: 1

      Who else went through this guy's post meticulously in order to find a single rouge space that violated his own rules?

      Come on, fess up. I know I did and I'm not ashamed to admit it.

    4. Re:One by mseeger · · Score: 1

      Stop this, you're making me do it myself...

  25. Early 20's, two spaces. by Anonymous Coward · · Score: 1, Informative

    I'm in my early 20's, so I'm relatively young. I was taught to put two spaces between sentences when learning how to type. I think it's still taught that way, so may people are just getting lazy.

    1. Re:Early 20's, two spaces. by Bigby · · Score: 1

      I am in my late 20's and can confirm that I was taught the same way. When I type with one space or read most of the stuff on the web, it annoys me. Sentences are important and deserve a bigger break than commas, semi-colons, and even spacing between words.

    2. Re:Early 20's, two spaces. by Anonymous Coward · · Score: 0

      Annoy yourself less by typing with two commas then. Sorry, can't help you out with the rest of the web (and most of publishing), though.

    3. Re:Early 20's, two spaces. by ari_j · · Score: 1

      The more interesting issue is spacing after a colon. Do you use two spaces or one? Does it depend on whether the stuff after the colon is a dependent or independent clause?

    4. Re:Early 20's, two spaces. by Myopic · · Score: 1

      I am 30, and when I was taught to type in 7th grade we were told explicitly: "Your parents learned to type on typewriters and will tell you to use two spaces between sentences. You will learn to type on a computer, and will use computers for typing for the rest of your lives. On computers, and in modern language, use only one space between sentences."

      Now, my typing teacher isn't exactly the end-all opinion on spacing, but her opinion concurs with the larger world, where computers typically remove extra spaces; and with professional typesetters at newspapers, magazines, and books, which all use single spacing. Thus, I appeal to the authority of the professionals, with my anecdote about my own typing teacher.

      To me, it sounds like your teachers were about 50 to 60 years old, near the end of their teaching careers, and had not updated their knowledge since they themselves learned to type. Yes, in the distant past, with one writing technology, humanity briefly flirted with the disastrous notion of double spacing.

      This has nothing to do with laziness. If it makes a person feel morally superior to type extra spaces, then I suggest that person get some perspective, and a life, in that order.

    5. Re:Early 20's, two spaces. by businessnerd · · Score: 1

      Mid 20's here. It was drilled into my head up through high school that you always put 2 spaces after periods. The cited source of all of these rules was the MLA formatting guide (there are multiple guides, each with different rules, but my district used MLA). So I decided to go back to the source to see exactly what they say. Seems they have changed their mind on this one since I was in school, but are still pretty non-committal either way. This makes me think back to the dreaded "Senior Paper" everyone had to write during our Senior English class. This was supposed to be the culmination of everything we learned in English since elementary school, including proper formatting. MLA formatting was being enforced and counted towards your grade. The teacher would literally bust out a ruler to check spacings, margins, tabs, everything. I had to plead to my English teacher that MS Word was automatically putting in a page break at the end of one of my pages due to a new paragraph starting on the 2nd to last line and no matter what I did, I couldn't get it to stop. She let it pass only because my paper was already well within the page number requirements, and the extra line breaks were not a way for me to cheat.

      Regardless of the official rule, it would be very hard for me to not put in two spaces after a period, just because I am so conditioned to do it.

      --
      "It's not whether you win or lose, it's how drunk you get." -- H. J. Simpson
    6. Re:Early 20's, two spaces. by Cro+Magnon · · Score: 1

      I'm in spitting distance of 50. I put two spaces between sentences when I was chiseling them on stone. I put two spaces between sentences when I was typing. So, I still put two spaces on the computer.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    7. Re:Early 20's, two spaces. by dancingmilk · · Score: 1

      I'm in my mid 20s and I've taken 3 typing classes over the years. Never once was I ever told to use 2 spaces when typing on a computer for anything. Once space after a sentence unless you are on a typewriter.

    8. Re:Early 20's, two spaces. by Anonymous Coward · · Score: 0

      You're doing it wrong.

      Look for the capital letter at the beginning of a sentence. It works every time. Oh. My. God.

  26. HTML says 1 space! by euroq · · Score: 1, Interesting

    I have always used two spaces. But when I started writing a blog, I noticed that where there are two spaces, and that sentence randomly begins on a new line (I say randomly because anyone can change the font size on their browser to have the lines wrap differently), there will be an unwanted space. This is due to the nature of HTML, where two spaces are interpreted as one, so the blog software will change it to a nbsp; (non-breakable space). So, it looks like the Internet is going to eventually determine the answer for me: I'll have to switch to one space! (Disclaimer: I used two spaces when typing this :)

    --
    Just because the U.S. is a republic does not mean it is not a democracy. Democracy/republic are not mutually exclusive.
  27. Space - Plural by dpolak · · Score: 0

    Two spaces, atleast that is what i was taught in school.

    Could be one of the only things I remembered from back then... ;-)

    1. Re:Space - Plural by Myopic · · Score: 1

      That, and how to smoke weed out of an apple.

  28. Depends on format by Geisel · · Score: 4, Insightful

    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

    1. Re:Depends on format by bill_mcgonigle · · Score: 1

      While I'm a two-spacer, the medium in which we type is largely making this a moot point.

      So true. I two-space unless I'm posting to Twitter.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  29. One space between sentences by ExRex · · Score: 1, Informative

    At least, that is the standard in the publishing industry. Two spaces is a convention invented by typing teachers for reasons which I've never understood, and which screws up justification once the document needs to be set. One of the first things that has to be done when bringing a document into a page layout program is to search for periods followed by two spaces and replace them with periods and one space. PITA for the Quark/InDesign/Scribus operator.

    --
    The closer you are to the code, the happier you are. - Ancient Geek Proverb
    1. Re:One space between sentences by bwintx · · Score: 2
      +1. Especially this part:

      PITA for the Quark/InDesign/Scribus operator.

      --
      Discussion System prefs link: http://slashdot.org/users.pl?op=editcomm
    2. Re:One space between sentences by Anonymous Coward · · Score: 1

      I vouch for the publishing standard. As a designer, setting type with double spaces doesn't make it easier to read, it makes what are called 'rivers' in the text and lead to all sorts of hellish, unprofessional looking breaks in paragraphs. I also search and replace, it's unbelievably annoying.

    3. Re:One space between sentences by kwerle · · Score: 1

      At least, that is the standard in the publishing industry. Two spaces is a convention invented by typing teachers for reasons which I've never understood, and which screws up justification once the document needs to be set.
      One of the first things that has to be done when bringing a document into a page layout program is to search for periods followed by two spaces and replace them with periods and one space. PITA for the Quark/InDesign/Scribus operator.

      1. Please leave text ragged on the right. Thanks.
      2. How is it a PITA to do REPLACE Period Space Space with Period Space? Can't you just do that globally?

    4. Re:One space between sentences by Teancum · · Score: 1

      That sounds like some programmer who doesn't understand the problem domain in terms of the typesetting software.

      Then again, typesetters are used to a pretty lousy user interface with processing steps that are designed to make the job easier for the machines with little or no consideration to the person who has to use the equipment. That makes for some very good job security as it is a PITA to have to learn the screwy codes and procedures to get everything to work, but still gets to the point that the software you are using here is buggy and not really doing its job correctly.

      I call that a bug, not a feature, if you have to repeat the same step more than a couple of times.... ever. Certainly this is a common enough issue that "period space space" and "period space" ought to generally be considered the same thing. My personal habit is to use the "period space space" and I'll continue to use that for the next 40 years if I can get away with it. For myself, I also think it makes for easier reading, but that is irrelevant in this discussion.

  30. TAB is the one true indentation by ejtttje · · Score: 4, Insightful

    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.

    1. Re:TAB is the one true indentation by gstoddart · · Score: 4, Interesting

      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.

      I'll grant you that on one condition ... if your fancy text-formatter is going to write in a consistent number of chars so that if it's rendered by another editor it still works, then fine. Otherwise, no.

      A former co-worker and I got into this argument. His emacs would use a single "tab" char to display between 1 and 40 tabs because it "knew" what it meant to do, but any other editor might render it like shit since it didn't have the right number of actual chars and relied on a specific mode.

      It caused huge problems with those of using different editors which didn't interpret the tabs the same way. Eventually, I locked him out of CVS until he fixed his emacs to adhere to our coding standard -- our manager agreed with me. :-P

      If you mean it to be 8 levels of indent, you need 8 placeholder items. Not one which is interpreted by your *^&%* editor (and only your editor). Otherwise, you end up with vast diffs specific to whitespace, and not what was changed. The resulting document must be properly rendered in any text editor, and it must do it consistently.

      But, yes. The Tab is the unit of measure, and your editor can render a tab as however many chars make you happy.

      --
      Lost at C:>. Found at C.
    2. Re:TAB is the one true indentation by value_added · · Score: 1

      Agreed, but in any kind of textual output, columnar alignment will vary according to the width of the tab. It's hardly uncommon to see a set of comments, for example, prefacing code that includes a warning that a certain tab setting should be used.

      And then, reading something outside your editor (in a pager), you're dealing with defaults of 8 space tabs. Those too can be changed, but you'll never get to a point where everything always looks the way it should. However you define it.

      Personally, I prefer a tab width of 4 spaces for most things. But a manpage using that kind of spacing? Too hard to read.

    3. Re:TAB is the one true indentation by istartedi · · Score: 1

      Agreed 100%. I call those who take the opposite postion "space cadets". If the code is an otherwise well-written library, I leave it alone; but if I actually have to analyze it and modify it, it gets tabbed and it's like chains coming off.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    4. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      Not so fast.

      Many coders use a monospaced font and convert tabs to spaces to keep things lined up. So if you have some code with indents, and you put comments above/below that are meant to line-up with elements at different indent levels, then you need the spaces in your comment to match the spacing used by the tab-indents below.

      Sometimes there may be ways to use indents in the comments to keep things lined up, but not always. Using spaces for everything makes sure that it will stay lined up for maximum readability no matter who opens the file, or with what program. (I've had problems with code on different platforms being screwed up because of tabs or tab/space mixes... using all spaces, everything worked fine.)

      Also, most text/code editors have an option for "convert tab to X spaces", so the "single keystroke" advantage is retained even while using spaces to indent.

      All that to say: despite it being obvious to you that people should code with tabs, other people have found that this isn't best for their workflow.

    5. Re:TAB is the one true indentation by noidentity · · Score: 3, Informative
      Yes, tab represents the intent, rather than the implementation. And before anyone complains that the code will format wrong if you do view it with the wrong tab spacing, that's because you're using tabs wrong. Where horizontal alignment between lines is important, you should be sure they align no matter what the tab spacing.

      But I think this discussion is about putting spaces after the period that ends a sentence, not whether to use one or two spaces for indention. Applying the above here, you should represent sentences in a way that your typesetting program can apply its stylesheet to sentences, rather than individual characters.

    6. Re:TAB is the one true indentation by ejtttje · · Score: 1

      Yeah, this is one big reason I prefer not to use emacs anymore: It's such a pain in the butt to tell emacs not to conflate spaces and tabs. Our emacs developers can't seem to figure out how to configure that arcane editor to just use tabs for indentation and not try to convert indents to some mixture of tabs and spaces, which just screws everyone up.

      Every other editor has an easy space vs. tab indentation setting, yet the supposedly advanced and powerful emacs still can't seem to get this straight. Ornery emacs users, feel free to tell me about your ctrl-u number meta-x butterfly-set-indent-tab incantation if I'm missing something ;-P

    7. Re:TAB is the one true indentation by Ragzouken · · Score: 5, Interesting

      Elastic tabstops (http://nickgravgaard.com/elastictabstops/) are the future.

    8. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      I was convinced to convert to tabs for this reason. A few months, machines, platforms and editors later... 2-4 space indents and 80 columns max or you're a moron!

      As for double spacing paragraphs, everyone should be double spacing paragraphs in emails. Emails are plain text, and are still commonly read on tty's. Recipients give less of a fuck that the sender is a webmail using retard so long as the email is formatted properly.

    9. Re:TAB is the one true indentation by Citizen+of+Earth · · Score: 1

      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.

      This idea only works if your lines are infinitely long. With fixed-length lines, e.g., 80 chars, you overrun somebody else's line length if you use different TAB settings in your editors. This means you "inflict that choice on everyone else."

    10. Re:TAB is the one true indentation by ejtttje · · Score: 1

      That is so beautiful it brought a tear to my eye, I totally agree and it's even basically how I use tabs now, it would just format it even more cleanly to provide the "ASCII art" formatting without the maintenance nightmare. I think I will send this link to my editor developers :)

    11. Re:TAB is the one true indentation by tuffy · · Score: 1

      Every other editor has an easy space vs. tab indentation setting, yet the supposedly advanced and powerful emacs still can't seem to get this straight. Ornery emacs users, feel free to tell me about your ctrl-u number meta-x butterfly-set-indent-tab incantation if I'm missing something ;-P

      Try putting:

      (setq-default indent-tabs-mode nil)

      in your .emacs file.

      --

      Ita erat quando hic adveni.

    12. Re:TAB is the one true indentation by ejtttje · · Score: 1

      Well, the whole problem is you're enforcing some arbitrary (and incredibly narrow) window width on everyone. First priority is to get your head out of that gutter, then we can debate indentation ;-P

      More seriously, 80 is really arbitrary, and also really narrow. Use a couple descriptive variables or a language like Java and you can't do anything in 80 characters, and then you wind up breaking function calls and member drilldowns in all kinds of messy ways, like adding clutter from one-usage variable declarations, or ragged argument lists... ugh. All just so the code fits on a 640x480 display that no one uses anyway? Why bother. Spend your time on coding, not managing ASCII art.

      So OK, eventually someone writes a line longer than your preferred window width? You really don't want to just scroll sideways? Ask your editor to wrap the lines automatically... it should do this for display and without resorting to storing ASCII art in the source file. It's very common in text handling systems to wrap text intelligently, why don't we demand this feature of our code editors? (I believe 'kate' does this btw, I wish more did just to appease the 80 column crowd. Personally, I just scroll if needed, which usually it isn't.)

    13. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      Your attitude is what messes up code everywhere. Tabstop has always been 8, and if you want a different indent, then use an editor that uses spaces (or tab-spaces) for indents. Indentation is not as simple as leading-line indents. It's also there for aligning the right-hand side of expressions, and the indenting of a broken line continuation. Unless you are really pedantically careful when writing code, with a varying tabstop things will always break. With your attitude, a text file is incomplete, because it needs metadata to display properly. The right way doesn't need that and works everywhere, including in browsers, and in all other programs that can display plain text.

    14. Re:TAB is the one true indentation by ceoyoyo · · Score: 1

      No wonder some people haven't admitted that tabs are the only real option. They must all use emacs.

    15. Re:TAB is the one true indentation by ejtttje · · Score: 3, Informative

      Ah, yes that setting avoids spaces-per-tab issues by not using tabs, but your personal spaces-per-indent setting is still being hardcoded in the source.

      The original question was: how do I tell it to use tabs for indentation instead of spaces? Best solution I know is to go into each mode (c++-mode, java-mode, etc.) and tweak the indentation setting to match the tab width, which looks like:
      (defun my-mode-hook ()
      (setq tab-width 2)
      (setq truncate-lines t)
      (setq c-basic-offset 2))
      (add-hook 'c-mode-hook 'my-mode-hook)
      (add-hook 'c++-mode-hook 'my-mode-hook)


      (ugh, why do I need to 'program' my editor to configure a setting... sigh.)

    16. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      Ha! That is why I submit only screen shots of all my code. That way no one can alter my perfect indentation.......

    17. Re:TAB is the one true indentation by tuffy · · Score: 2, Informative

      That was my fault for misreading the question. SmartTabs is probably best for a "tabs everywhere" approach that degrades gracefully on other editors, regardless of tab width.

      --

      Ita erat quando hic adveni.

    18. Re:TAB is the one true indentation by u17 · · Score: 1

      I take it you've never printed any code in your life. Given a blank sheet of paper and a legible font size, you *are* given a character width limitation. Assuming a monospace font, 80 columns is pretty reasonable for that purpose. In longer lines it is also harder to figure out what's going on. If your lines are too long, maybe you should use more intermediate variables?

      Also, it's not 640x480, it's 80x24 (or 80x25) ;-)

    19. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      the one comment that actually has the most constructive information is at +3, Informative instead of +5

    20. Re:TAB is the one true indentation by BitZtream · · Score: 1

      I think it is rather clear that his Emacs setup was broken, not the use of tabs.

      I don't use emacs so I don't know if thats the default setup, but its most certainly a retarded setup for writing code.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    21. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      If your are using 8 levels of indent then there is something wrong with your code. Its typically a sign of overly complex code. Methods, procedures, and classes can reduce most code to to two or three levels of indent.

    22. Re:TAB is the one true indentation by ejtttje · · Score: 1

      Perfect, thanks! This has always seemed like the most sane solution, at least until my other new favorite (http://nickgravgaard.com/elastictabstops/ thanks to Ragzouken) becomes widespread.

    23. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      I have given up expecting the code of others to look good. Indents for code are a random number between -5 and 15.

    24. Re:TAB is the one true indentation by Anonymous Coward · · Score: 0

      Elastic tabstops are awesome. Have you seen this? Announcing the Visual Studio 2010 plugin limited public beta

    25. Re:TAB is the one true indentation by petermgreen · · Score: 1

      Cool idea, the trouble is

      1: Afaict none of the major IDEs/editors support it and even if they do it won't be on by default.
      2: it adds to the mess by creating yet another way of doing things that will lead to broken formatting (at least as broken as changing the tab stop in code that uses tabs for indentation and trys to line stuff up) when someone opens the file up in another editor.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  31. We're not in fixed width fonts any more by blowdart · · Score: 1

    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)?

    Given that we're not on typewriters any more, where two spaces after a sentence terminator came from, why does it matter? Proportional fonts, automatic full justification will vary the spaces between words to make the margings align.

  32. Only douche bags double space. by pyster · · Score: 0, Flamebait

    Single space after a sentence, noob. Drives me nuts when I see double spaced bullshit. It's almost as bad as seeing more than 3 punctuation marks. If you use more than three you are a fucktard.

    1. Re:Only douche bags double space. by Anonymous Coward · · Score: 0

      At least you won't be a fuckin' luzer who uses silly netspeak words like "fucktard."

    2. Re:Only douche bags double space. by Myopic · · Score: 0

      +5 Insightful Flamebait Troll

      I happily agree with what you said, and even how you said it. Try as I might, I can't understand the arguments for double spaces. All the arguments are hokum.

  33. 2 and 2 by 2obvious4u · · Score: 1

    All my Java code is two space indented. All my sentences are two spaces after the period. Always has been and always will be.

    1. Re:2 and 2 by Nerdfest · · Score: 1

      Well, I'm glad that's settled. Most of us have some reformatting to do, so it may be a little quiet around here for a while.

  34. Must be a ... by Anonymous Coward · · Score: 0

    Slow. News. Day.

  35. Ok by Thyamine · · Score: 4, Funny

    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
  36. Two. by Anonymous Coward · · Score: 0

    Two spaces, all the way. The only reason not to do two spaces is when one has an actual limit on the space of a message (text messages are notoriously sucky in that regard); whether or not a word processor can decide what is a "pleasing" space between period and beginning of next sentence seems rather silly since the ol' double-tap is ingrained in most of us anyway. It guarantees the space you want, sticks with standards that most people grew up with, and doesn't require any strangeness with detecting abbreviations or retraining those twitchy thumbs.

    One space, especially with a font like Courier, is just nasty.

  37. Re:Two spaces, bitches. by WalksOnDirt · · Score: 1

    But is there any practical difference? For instance, how many spaces are after this period. Did you guess 11?

    --
    a,e,i,o,u and sometimes w and y (at be if of up cwm by)
  38. Rule #2: Double Tap by Anonymous Coward · · Score: 1, Funny

    As Zombieland stated, Rule #2 is Double Tap. I think that makes the answer pretty clear.

  39. Two for sentences, four for code. by Vornzog · · Score: 1

    Two spaces at the end of sentences - a good typography setter will set the correct width for the end of the sentence, a crappy one will get it wrong no matter how many spaces you use, and for anything else two is the correct answer.

    For code, four spaces with soft tab stops, allowing you to use the tab key to insert the correct number of spaces. Easier to read than two spaces (not enough difference in two spaces over more than 10 lines or so), takes up less horizontal space than the stupid 8 space tab stops. Setting up vim to do this is nearly required if you want to program Python, or make any other language look sane.

    Were there any questions? If so, why? Try the experiment, realize that most of the world has worked it out already, and go with the flow. The real question was never the number of spaces - it was readability. To maximize that, two for sentences, four for code.

    --

    -V-

    Who can decide a priori? Nobody.
    -Sartre

    1. Re:Two for sentences, four for code. by renard · · Score: 1
      Hear, hear!

      The claim of equivalence between a regular inter-word space and an end-of-sentence space would be laughable if it didn't actually serve to trip sincere individuals like the poster up so often. Just pick up any book, magazine, or newspaper, and compare the length of the spaces. You will find the end-of-sentence space is longer in any typeface, and in any professional publication.

      What that means for us regular joes: Two spaces, please. It will make your text more readable.

      Cheers,
      Renard

  40. Quick fix by AndyAndyAndyAndy · · Score: 1

    Find: ".__"
    Replace "._"
    Document converted. Works in everything I've tried. (Underscore obviously just to show space / dodge HTML single-space rule)

    --
    It's always confirmation bias!
    1. Re:Quick fix by vlm · · Score: 3, Funny

      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
    2. Re:Quick fix by Zocalo · · Score: 1

      I don't think it's quite that simple. There are a lot more punctuation marks that might precede a double space not only depending on the typist but also their knowledge and application of punctuation rules. Besides other sentence termination marks, such as "!" and "?", you might also find double spaces after quotes, colons, semi-colons, and brackets. That also opens up that other punctuation related debate amongst geeks about whether the full stop should logically go before or after brackets and quotation marks.

      You would need quite a complex regular expression to handle all of the possible cases for you without doing anything stupid when multiple spaces have been used for indentation or some other page layout purpose. Of course, it's going to be a pretty horrific looking expression given how many of the characters that you are dealing with also have special meanings in regular expressions and will therefore need escaping.

      --
      UNIX? They're not even circumcised! Savages!
  41. Three by jpvlsmv · · Score: 1

    It's especially important to use 3 spaces between sentences when you are using a proportional font. That's because the spaces are narrower than the regular characters, and get compressed more when they are pushed through the internet tubes.

    Although if you're working on one of these new "TV Typewriters" you might want a different spacing.

    And what's the deal with -mdash- in the title? Can't we just go back to using -- instead of having to type m d a s h?

    --Joe

  42. hmmmm by Anonymous Coward · · Score: 0

    What do I think? I think I want to find you and kick you in the ass for wasting my time reading this meaning less crap.

    Oh an btw, I use one space on this reply.

  43. Thread over in one by Blakey+Rat · · Score: 1

    And... the thread is over in one comment.

    Sorry for the Farkism, but there's really nothing more here to be said.

    1. Re:Thread over in one by SleazyRidr · · Score: 1

      You clearly underestimate the number of typography geeks on /.

    2. Re:Thread over in one by HTH+NE1 · · Score: 1

      "Is a slave still a slave if he doesn't know he's a slave?"

      "Yes." The deep voice sounded almost bored.

      "Awww, I was hoping for a philosophical debate." He was disappointed; the conversation was not living up to its potential. "Is that all I'm going to get? `Yes'?" mocking the tone.

      "Yes." Clipped, definite.

      Petulant and condescending, he laughed. "Oh, you're no fun."

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  44. How to get out of work on a progeamming team by AnonymousClown · · Score: 5, Funny
    1 .Attend meeting with some sort of electronic device.
    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

    1. Re:How to get out of work on a progeamming team by maxwell+demon · · Score: 4, Funny

      "Should I use spaces or tabs for newlines?"

      Neither. Depending on the system you're working on, use either a carriage return, a line feed, or a line feed followed by a carriage return. Fortunately the return key usually generates the correct newline marker for your system.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:How to get out of work on a progeamming team by peterofoz · · Score: 1

      Or is it: If( foo == true) { a=x; }

    3. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 1, Insightful

      If that last one provokes even a little discussion, step 6 should be "find a new job". Braceless ifs are a great way to cause mysterious bugs when somebody modifies the code down the line...

    4. Re:How to get out of work on a progeamming team by AnonymousClown · · Score: 1

      If that last one provokes even a little discussion, step 6 should be "find a new job". Braceless ifs are a great way to cause mysterious bugs when somebody modifies the code down the line...

      But wouldn't that mean someone modified the code without understanding it?

      And they'd be finding a new job too?

      --
      RIP America

      July 4, 1776 - September 11, 2001

    5. Re:How to get out of work on a progeamming team by nonsequitor · · Score: 1

      That only works when there's not a coding standard in place at said company. A good coding standard covers all those points and much, much more, leaving developers to debate the problems that actually matter to the company.

    6. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      How about
      If( foo = true) a=x;

    7. Re:How to get out of work on a progeamming team by Gnavpot · · Score: 1

      How about
      If( foo = true) a=x;

      Set a to x if you succeeded in setting foo to true?

    8. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      If( foo = true) {a=x;}

      duh.

    9. Re:How to get out of work on a progeamming team by Mr.+Underbridge · · Score: 1

      But wouldn't that mean someone modified the code without understanding it?

      Your eyes assume things based on sane programming practices. It's like saying a car crash is your fault because you didn't notice that somebody removed all your lugnuts, causing you to lose control. I mean, you can see the lugnuts weren't there, right? Your eye glosses over stupidity of that magnitude.

      Braces should *always* be there in some form, though putting them on the same line as the command (as mentioned above) is probably the cleanest for a one-liner.

    10. Re:How to get out of work on a progeamming team by orasio · · Score: 2, Insightful

      Number 4. :
      Yes.

      Not leaving brackets around one-liners is an invitation to mistakes.
      If you want to add a debug line to the one-line block, you need to add brackets.
      If you remove it, then remove the brackets.
      Using them always gives you one less thing to think about.

    11. Re:How to get out of work on a progeamming team by nacturation · · Score: 1

      a = foo ? x : a;

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    12. Re:How to get out of work on a progeamming team by pdbaby · · Score: 1

      Ask "Should I use spaces or tabs for newlines?"

      Call me traditional but I like to use newlines for newlines :-P/p>

      --
      Global symbol "$deity" requires explicit package name at line 2. - If only $scripture started "use strict;"
    13. Re:How to get out of work on a progeamming team by discord5 · · Score: 1

      Ask "Should I use spaces or tabs for newlines?"

      It's modded funny, but the sad part is that sometimes this is true. I spent a year in a company where they had a 2 hour meeting over how to start doxygen comments:/// or //! or /** or /*! .

      The sad part isn't that it took two hours to settle, but that it took two hours to agree on not agreeing with each other and not settle the issue. I left shortly after, so I don't know if they ever managed to settle that debate. Their software still hasn't made it to a public release, so I'm guessing they have more important issues right now than that

    14. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      Dammit, the insert key should be outlawed!

    15. Re:How to get out of work on a progeamming team by pthisis · · Score: 1

      Set a to x if you succeeded in setting foo to true?

      That's not how boolean evaluation of the = operator works, at least not in standard C.

      For instance, this succeeds in setting foo to true but doesn't set a to x:

      #include

      int main(void)
      {
              int true = 0;
              int foo=-1;
              int a=1;
              int x=2;
              if (foo = true) a=x;
              printf("a: %d\n", a);
              printf("foo: %d\n", foo);
              return 0;
      }

      --
      rage, rage against the dying of the light
    16. Re:How to get out of work on a progeamming team by aclarke · · Score: 1

      Clearly it should be:

      if (foo) a = x;

    17. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      if (foo==true){
          a=x;
      }

      FTFY.

    18. Re:How to get out of work on a progeamming team by yotto · · Score: 2, Funny

      That only works when there's not a coding standard in place at said company. A good coding standard covers all those points and much, much more, leaving developers to debate the problems that actually matter to the company.

      I read this as "...leaving developers to create the problems that actually matter to the company." which makes your comment absolutely hilarious.

    19. Re:How to get out of work on a progeamming team by Phleg · · Score: 1

      a = x if foo

      --
      No comment.
    20. Re:How to get out of work on a progeamming team by nschubach · · Score: 1

      That's how I do it, braces for everything, even single lines. I hate reading code that someone never put the braces after simple ifs. I like that there's a defined start and end to that block of code, or that train of thought.

      I also still put 2 spaces at the end of my sentences by habit.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    21. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      Why would you set true to 0? stdbool.h defines true as 1 and false as 0.

    22. Re:How to get out of work on a progeamming team by roman_mir · · Score: 1

      You are technically correct. The best kind of correct. You fit perfectly into a coding team.

      NOW notice how the parent post wasn't asking you about this, he was making a joke about a way of getting OFF of a coding team.

      You fail to understand joke, thus you do belong on /.

    23. Re:How to get out of work on a progeamming team by roman_mir · · Score: 1

      actually no, his code clearly should be this:

      foo=true;
      a=x;

      There is no question there, it's an assignment of 'true' to 'foo', which supposedly will always result in the 'if' condition always evaluating to true, assuming this is C code and assuming true is not a 0.

    24. Re:How to get out of work on a progeamming team by pthisis · · Score: 1

      Why would you set true to 0?

      Because any other value would be useless in resolving the question at hand.

      The question was what the boolean behavior of the "=" operator was.

      By setting true to 0, it's easy to illustrate that it is the final value of foo and not whether foo was successfully set that determines whether the "if" clause is executed.

      Setting true to 1 would make the example ambiguous.

      --
      rage, rage against the dying of the light
    25. Re:How to get out of work on a progeamming team by c++0xFF · · Score: 1

      This is part of nearly every coding standard I've seen.

      And yet, I've never actually seen a bug caused by it when this rule isn't enforced.

      Maybe it's because people actually use sane editors now which automatically indent for you. That certainly makes the problem easier to spot.

      Or maybe it's because people train their eyes to notice the problem, making this only a good rule for those that have followed it for their entire careers.

      Or maybe I've just been lucky. Who knows.

      But I do agree with you that it's stupid how much discussion revolves around such a simple thing. People get downright religious about braces and indenting during peer reviews. That alone makes me want to find a new job sometimes.

    26. Re:How to get out of work on a progeamming team by c++0xFF · · Score: 1

      It gets downright nasty when it's time to peer review code. More time is spent pointing out bad spacing and typos in comments than actual problems with the code.

      Programmers can get picky and religious if the code isn't formatted just so. Vertical alignment of variable declarations/initializations are one such case: there's no reason to codify this in a document, but opinions vary. Do you align the '=', the variable name, or both? How do you deal with pointers? References?

      Ugh ... I hate it. And yet ... I have my own opinions and defend them on occasion. I'm part of the problem.

      The reality is that a programmer should be able to deal with just about any coding style. Consistency is good, and some things are downright dangerous, of course ... but you should still be able to work with it.

    27. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      if (foo==true) a=x;

      --or--

      if (foo==true)
      {
          a=x;
      }

    28. Re:How to get out of work on a progeamming team by Nerdfest · · Score: 1

      I'm pretty much at the point where I'm sick of arguing about what is not even coding style anymore, it's formatting style. This can now be done by any decent IDE. If the code is not in a format you can read, press a button. For bonus points, have it put into a standard format at commit time do allow diffs to work properly. Concentrate on the important things, like badly _written_ code.

    29. Re:How to get out of work on a progeamming team by number6 · · Score: 1

      This is part of nearly every coding standard I've seen.

      And yet, I've never actually seen a bug caused by it when this rule isn't enforced.

      Oh, I have :-) Back in the days when we used C, someone had something like:

      if (foo)
            A_MACRO

      It worked fine, until the #define was changed to consist of multiple statements. The problems caused weren't local to that bit of the code, so it took ages to track down.

      I've seen a number of easy to fix bugs caused by this as well, but none quite as spectacular as the above.

      --
      I'm a number, not a free man!
    30. Re:How to get out of work on a progeamming team by Per+Wigren · · Score: 1

      foo && a=x

      --
      My other account has a 3-digit UID.
    31. Re:How to get out of work on a progeamming team by LordArgon · · Score: 1

      Spoken like somebody who's never coded Python. :)

      Many people think Python's lack of braces is a terrible idea when they first learn about it. Then they try it and realize that 1) it's almost never actually a problem and 2) it lends a clean, useful consistency to all code.

      Finally, if (1) turns out to be false in your environment, your blocks are probably too long. When a convention works well for almost everybody but you, it's time to examine yourself.

    32. Re:How to get out of work on a progeamming team by EvanED · · Score: 1

      That works for Python because the visual appearance of the code reflects the syntactic structure. The same cannot be said for C.

      (I have two complaints about it that makes me kind of not like the Python approach. One is that crappy forum software will sometimes remove tabs/spaces. If that happens with C code someone posted, no big deal, just paste it into Emacs and indent-region. If that happens with Python code, well, that information is often almost worthless -- reconstructing the indentation can be difficult. Second, even if a code snippet displays correctly, it may not copy/paste correctly. (This is especially true with an older .emacs I had.) These problems come from the fact that it's much easier to lose indentation information accidentally than it is to drop braces accidentally. There are also a couple minor annoyances when it comes to editing, like it's harder to predict when the indentation code in emacs will put the cursor at the right place.)

    33. Re:How to get out of work on a progeamming team by zill · · Score: 1

      Woosh.

      A bad developer asks the team a useless questions that is probably covered in the company's coding style guidelines.

      A terrible developer does not even understand the difference between "indentation" and "newline" and asked the wrong question.

    34. Re:How to get out of work on a progeamming team by TheoMurpse · · Score: 1

      If( foo == true)
      a=x;

      Or is it:
      If( foo = true)
      {
      a=x;
      }

      Neither. You only need if (foo), not if (foo==true). This is CS 101 ;)

    35. Re:How to get out of work on a progeamming team by KlaymenDK · · Score: 1

      Exactly. I'm in the unfortunate position that one of my clients uses just that, spaces and tabs for newlines. To read each of her emails, I have to resize my mail app to the size hers was when she wrote it. *smacks forehead* Such is the life of a modern IT worker...

    36. Re:How to get out of work on a progeamming team by c++0xFF · · Score: 1

      Ahhh. I forgot about the macro problem. I wish I could mod you up, but that's against the rules.

      For those not in the know, macros are interpreted very literally by the preprocessor. A macro with multiple lines in it generally requires a stupid trick like enclosing the code within a do { ... } while(0) to prevent just this problem. Or a if (true) {...} else (void)0.

      Ugh. See this for more info.

    37. Re:How to get out of work on a progeamming team by dfsmith · · Score: 1

      My keyboard doesn't have a return key. It has two marked "enter" keys though (one of which has an additional newline symbol, one doesn't).

      It's interesting to reminisce that "return" is short for the unwieldy lever labeled "carriage return"; which would make your desk shudder. In the intermediate years the "send" key was very different from the "newline" key (remember 3270?).

      Erm, did I just prove your point?

    38. Re:How to get out of work on a progeamming team by dkf · · Score: 1

      Exactly. I'm in the unfortunate position that one of my clients uses just that, spaces and tabs for newlines. To read each of her emails, I have to resize my mail app to the size hers was when she wrote it. *smacks forehead* Such is the life of a modern IT worker...

      Your email client doesn't do auto-rewrapping of paragraphs if asked?

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    39. Re:How to get out of work on a progeamming team by R.Mo_Robert · · Score: 1

      a line feed followed by a carriage return.

      Actually, it's a carriage return followed by a line feed. ;-)

      --
      R.Mo
    40. Re:How to get out of work on a progeamming team by MechaStreisand · · Score: 1

      A macro! Interesting. That's actually a pretty good argument in favor of always using braces. I was leaning towards them not being necessary, but that's making me reconsider.

      --
      Disclaimer: IANAL. This post is, however, legal advice, and creates an attorney-client relationship.
    41. Re:How to get out of work on a progeamming team by VocationalZero · · Score: 1

      It's like saying a car crash is your fault because you didn't notice that somebody removed all your lugnuts, causing you to lose control. I mean, you can see the lugnuts weren't there, right?

      Its more like you borrow a friends car that does not need lug nuts, replaced the tires with some that do require lug nuts, but then never install the lug nuts, and then proceed to crash it. But yeah, you should still just use braces anyway.

    42. Re:How to get out of work on a progeamming team by sslayer · · Score: 1

      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; }

      Given that those sentences are not equivalent, I'd choose the first one. Sure, it's not pretty and prone to make you make mistakes. However, I think that your intention is to compare if foo is true, not to set foo to true and then test if that succeed.

    43. Re:How to get out of work on a progeamming team by LordArgon · · Score: 1

      I think it's true for Python because they intentionally restrict the appearance of the code to reflect the syntactic structure. There's no reason it couldn't be that way for C, other than that somebody thought it was a good idea to separate the two.

      The separation of the two doesn't yield many benefits that I see, mostly just formatting holy wars (and cool obfuscation contests, although the fact those are even possible should've been a big red flag, IMO).

      You have a good point about crappy software stripping whitespace. This is a general pet-peeve of mine.

      Maybe my ignorance is showing, but why is it so unreasonable to expect WYSIWYG whitespace? If I put two spaces somewhere, why would someone decide I want one? If I'm allotted 100 chars and I want them to be whitespace, what's wrong with that? Just that it's easier to detect than gibberish? If I really cared about spamming useless info, I'd just fill it with gibberish (or book text) instead of whitespace. I just don't get it...

    44. Re:How to get out of work on a progeamming team by Cederic · · Score: 1

      noooo! naughty! That's not basic debugger friendly (and no bugger has a proper debugger these days).

      Oh, and one space after a full stop. Two would be greedy.

    45. Re:How to get out of work on a progeamming team by Yosho · · Score: 1

      Neither. You only need if (foo), not if (foo==true). This is CS 101 ;)

      But don't forget that in Javascript, if(foo) is actually the equivalent of if(typeof(foo) !== 'undefined' && foo !== null && foo !== false). That's not the same as if(foo === true) and may not actually be what you want.

      (I hate Javascript)

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    46. Re:How to get out of work on a progeamming team by c++0xFF · · Score: 1

      I see it as a case for avoiding macros, especially the multi-line variety.

      The best solution might be both.

    47. Re:How to get out of work on a progeamming team by ImprovOmega · · Score: 1

      Also, 4.5:
      Is it:
      if(foo==true) {
      a=x;
      }

      or:
      if(foo==true)
      {
      a=x;
      }

    48. Re:How to get out of work on a progeamming team by RichiH · · Score: 1

      Both wrong. It's

      if( $foo == true) {
          $a=x;
      }

      of course ;)

      Note that if( foo = true) will always be true ;)

    49. Re:How to get out of work on a progeamming team by pdbaby · · Score: 1

      I think you'll find he was referencing the contentious area of tabs vs. spaces (and if spaces, how many) as being a perfect way to keep a roomful of programmers busy for hours (reinforced by the second example, "should I avoid braces if I only have a single statement?".

      I was using the accidental use of "newline" by the poster as an excuse for a small joke.

      --
      Global symbol "$deity" requires explicit package name at line 2. - If only $scripture started "use strict;"
    50. Re:How to get out of work on a progeamming team by Tinctorius · · Score: 1

      Vote for documenting before coding. End of discussion.

      Same goes for this issue. Avoid the use of abbreviations. And if you do want to have it detected programmatically, you can always add some markup (quote `abbr.` in backticks?), provided your software understands such things.

    51. Re:How to get out of work on a progeamming team by Anonymous Coward · · Score: 0

      ROFLMAO.

      5. If meeting is winding up too early, ask "Emacs or vim?
      6. Stay all night surfing the web on overtime pay...

       

  45. Not everyone uses proportional fonts by johnlcallaway · · Score: 1

    Two spaces after a period. That way when I copy to a monospaced program like TextEdit, it still works.

    Just because most programs and people use proportional fonts, doesn't mean they all do.

    And it's four spaces for indenting. Two is not enough, and eight is just crazy after a couple of levels. If four spaces for indents moves things over to far, then that section needs to break things up a little bit more.....

    --
    I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
  46. What the heck... by Wyatt+Earp · · Score: 1

    It's wikipedia's article of the day and so it's over on /. as "an epic battle is waging"?

    I missed /. two days ago, was the Action of 1 August 1801 described as "an epic battle in the Global War on Terror"? http://en.wikipedia.org/wiki/Action_of_1_August_1801

  47. Luddite by Shadow+Wrought · · Score: 1

    I still do all my writing in monospace. I don't use "smartquotes" or any of the other smart-replace type options. I use two spaces after periods everywhere except when texting and on twitter. I like what I type to appear on the screen. Not what the program thinks I want, but what I actually type.

    --
    If brevity is the soul of wit, then how does one explain Twitter?
    1. Re:Luddite by jbengt · · Score: 1

      I do most of my writing in proportional fonts. I use two spaces after periods at the end of sentences. It just looks better, Except where the word processor (usually MS Word) stretches words too far apart (MS never heard of letter spacing?) in full justification, then I'll go back and change it to a single space.
      I hate smart quotes. Word handles them so stupidly - one foot two inches spelled 1' 2" does not call for smart quotes! And different versions of Word can't even render each other's smart quotes correctly, let alone if you cut and paste them into a text editor.

    2. Re:Luddite by u17 · · Score: 1

      I do most of my writing in proportional fonts. I use two spaces after periods at the end of sentences. It just looks better, Except where the word processor (usually MS Word) stretches words too far apart (MS never heard of letter spacing?) in full justification, then I'll go back and change it to a single space.

      Such tweaking will always cause problems in the long run, especially in longer documents. May I instead recommend using LyX, a text editor which uses LaTeX as the underlying typesetting engine (but in which knowledge of LaTeX is not required). It won't let you type two consecutive spaces, but in the output it will insert a longer space between sentences.

      After all, shouldn't it be the job of the typesetting program to do the typesetting, and not the author of the text? I mean, you don't do hyphenation manually, why would you do the same with spacing? I only use double spaces in plain text files, and don't try to manually correct any of the more sophisticated editors.

    3. Re:Luddite by Shadow+Wrought · · Score: 1

      Just checked out Lyx. It looks pretty cool and looks like it will do most of what I want. I'll definitely check it out tonight. Thanks!

      --
      If brevity is the soul of wit, then how does one explain Twitter?
    4. Re:Luddite by jbengt · · Score: 1

      After all, shouldn't it be the job of the typesetting program to do the typesetting, and not the author of the text?

      I don't do typesetting at all. I write specifcations, memos, and reports, and the tools available to me at work are word processors that don't do typesetting (at least not well).

      I type more than one space after sentences because that looks right - even the typesetting programs agree. True, if well thought out, typesetting programs can do a better job at spacing than I might manually.

      Still, if those programs are so smart, why can't they adjust my two spaces just as well as they can adjust your one space

  48. Re:2. Duh. But... by pyster · · Score: 0, Troll

    Always, except for the post you just made.

  49. One space for space by xplenumx · · Score: 1

    I prefer two space since I believe it looks better. However, over the past few years I've transitioned to using only one space. Many grant applications / abstracts / scientific writing have character limits. Using one space instead of two can make a significant difference when you're fighting for every word.

  50. In the age of the web... by dingen · · Score: 1

    ...there's no such thing as double spaces. Seriously, HTML doesn't support it. I can put as many spaces between sentences as I want in this message, but it won't show.

    --
    Pretty good is actually pretty bad.
    1. Re:In the age of the web... by Anonymous Coward · · Score: 0

      I see what you did there - I had to hit Quote Parent to see it, but I saw it.

    2. Re:In the age of the web... by Culture20 · · Score: 1

      ...there's no such thing as double spaces. Seriously, HTML doesn't support it. I can put as many spaces between sentences as I want in this message, but it won't show.

       
          

    3. Re:In the age of the web... by John+Hasler · · Score: 1

      > ...there's no such thing as double spaces.

      The Web is not the world. It isn't even the Net. Plain text still exists. By all means let your typesetting software take care of spacing when creating a typeset document, but don't assume there is no other kind.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  51. Asian languages by rwa2 · · Score: 1

    Oh, and as an aside, the written Thai language doesn't use spaces between words and doesn't need periods at the end of sentences. Basically, each word consists of one or two consonant characters (~44 total, but they're phonetic) which get surrounded by some combination of vowel characters (~26 total), and then might get some intonation marks on top (1-4 in addition to the neutral).

    So there's a lot going on, but at least they don't have to worry about this trivia... each sentence consists of a bunch of words run together, separated by a simple space :-P

  52. Typesetting vs typing by toby · · Score: 3, Interesting

    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 #!
  53. Tab = Two Spaces? by SwashbucklingCowboy · · Score: 1

    "... since we all agreed that tab indenting for code was properly two spaces."

    I've never worked anywhere where that was used.

    1. Re:Tab = Two Spaces? by Anonymous Coward · · Score: 0
  54. it's the period by Anonymous Coward · · Score: 0

    That seems backwards to me. One space in a proportional font should be much smaller than one in a monospaced font. You'll get a HUGE difference between those two your way. Unless that is your intent, for some unknown reason.

    You're concentrating on the wrong character.

    In a monospaced font, the period/fullstop is as wide as the W. You need the double-space to compensate for the extra-wide period.

  55. I always use two spaces when writing long hand by Anonymous Coward · · Score: 0

    I do all my writing long hand on lined paper and find that two spaces between sentences works best.

  56. School papers by longhairedgnome · · Score: 1

    I'll throw two spaces in when writing papers for school, but looking back at it from a new perspective, if it comes from an era of typewriting, I should switch to one...

    --
    GENERATION O98346: The first time you see this, copy it into your sig and remove a random number from the generation. T
  57. two spaces for me, thanks by Draque · · Score: 1

    I personally prefer two spaces when I'm reading, as I find it easier to separate sentences while scanning text. Also, what's with the whole "since we all agreed that tab indenting for code was properly two spaces." bit? I don't believe I've seen that in any of my coding positions.

  58. Semantic markup by itsdapead · · Score: 5, Funny

    <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.
    1. Re:Semantic markup by Anonymous Coward · · Score: 0

      I wish I had mod points. This would be going up, UP, UP!!

    2. Re:Semantic markup by Anonymous Coward · · Score: 0

      I love you.

    3. Re:Semantic markup by godrik · · Score: 1

      That's basically what I say to all those saying "xml is great". Thank you for the laugh.

    4. Re:Semantic markup by Anonymous Coward · · Score: 0

      You missed a space and now my markup renderer is all broken dammit.

    5. Re:Semantic markup by pyster · · Score: 1

      initialism, not acronym :)

    6. Re:Semantic markup by itsdapead · · Score: 1

      ERR 3912: Comment ignored - missing or malformed <pedantry> tag.

      --
      In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  59. Technical words? Write around them. TMTOWTDI. by Anonymous Coward · · Score: 0
    Parent Poster:

    The only one that matters: Is it still readable?

    From TFSubmitter:

    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.

    ...and you solve that problem by writing around it.

    "Start the loop with foo=0. foo is incremented in the loop. Exit the loop when foo=10."
    vs. "Start the loop by setting foo=0. Each time through the loop, increment foo. Exit the loop when foo=10."

    This also works for everything from products ("iProducts account for X% of Apple's sales" / "Apple derives X% of its sales from iProducts") to object/class/function names ( fooBar(baz) works by doing XYZ..." / "When you call fooBar(baz), the function works by doing XYZ...")

    English is like Perl. There's more than one way to do it, and it's easy to write illegibly. But the fact that There's More Than One Way To Do It also means it's possible to write legible English. Just like Perl, TMTOWTDI is a feature, not a bug.

  60. Pointless by AssClown2520 · · Score: 1

    This is somewhat a pointless argument in my opinion. It should be whatever I, as the writer, want it to be. Same as line spacing, indents on paragraphs, how much space between paragraphs, etc. I personally think that 2 spaces helps to separate sentences better. Just like anything, I hate it when things like this are dictated by the software package or by HTML. If I want 2 fsking spaces, give me my 2 spaces!

    1. Re:Pointless by dingen · · Score: 1

      You seriously think the writer of the text should also be the person to format the page? Boy, I don't want to visit your comment-enabled website.

      --
      Pretty good is actually pretty bad.
    2. Re:Pointless by AssClown2520 · · Score: 1

      Damn! I was just about to invite you to visit my comment-enabled website too! Maybe a better way to put it would be to say it should be up to the person that controls the content then? You kids and your new age "websites" and "comment-enabled" and "inter-webs." As on old timer I was thinking of more of word processing and reports, etc.

  61. Re:Two spaces, bitches. by Anonymous Coward · · Score: 0

    There is a difference, without a doubt. Ever notice how when someone writes something long on the internet, it looks like a giant wall of text? If you're reading a book, and you hit an entire page that's just one paragraph, do you get that same feeling?

  62. Re:2. Duh. But... by Anonymous Coward · · Score: 1, Informative

    That's your browsers rendering. Take a look at the source...

  63. moot point by misfit815 · · Score: 1

    I was taught to use two spaces, but became a convert when I saw that an increasing number of applications trim excess whitespace. The second space was getting lost, so I just quit adding it.

    --
    Jesus told him, "I am the way, the truth, and the life. No one can come to the Father except through me. - John 14:6 NLT
    1. Re:moot point by Anonymous Coward · · Score: 0

      So why not continue to use 2? A "smart" editor can format it how it likes no matter what you type, but for plaintext it'll still look correct. I'd always want any original text to have two spaces, then I can edit it later if needed (ie, search and replace for character limited technical work). If you don't have two spaces, there's no way of knowing if you're at the end of a sentence for certain without personal oversight on every case.

      I'm also of the "it makes it easier to read" school. Slight sidenote, the wiki article had the quote "more densely packed text is read more efficiently ... than is more loosely packed text" from some report, and I happen to think this is complete crap. I was amazed how much easier it is to read printed papers from Word since they switched their line spacing to 1.15 standard instead of 1. Having that slight extra bit of space just makes it simpler to track lines and not accidentally line swap which tends to happen occasionally on 1.0 spaced blocks of text, without the jarring blankness which is 2.0 line spacing. I find the same concept holds true for sentences- double spacing a sentence makes it easier to read quickly, as my brain can automatically input the fact that this chunk of text is one thought (kind of a background rule that doesn't put any overhead on reading and processing the information).

      PS - I'm not an editor or typographer or anything, which seem to have their own club of thought on this matter, but I speak from my ~20 years experience as an avid reader (I started reading long books early and am still faster than anybody else I personally know). IMO double space just works better.

  64. D'oh - EXTENSIBLE markup language by itsdapead · · Score: 1

    I hang my head in shame. Sorry.

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  65. neither is correct by Anonymous Coward · · Score: 0

    The space between the punctuation mark and the start of the next sentence should be larger than the space between words in the sentence but not as much as two inter-word spaces.

    On typewriters and antiquated word-processing packages (MS Word and copy-cats such as Open Office), only one type of space is available, so one has to choose either one or two spaces to approximate what should be in between. Similar issues arise when formatting numbers with units in text, i.e. "3 mm" or "3mm"? Again, the answer is neither as the spacing should be somewhat in between these two.

    Using appropriate modern type-setting software like LaTeX avoids these stupid debates while rendering superior text output.

  66. "...we all agreed that tab indenting for code... by John+Hasler · · Score: 5, Interesting

    ...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.
  67. Re:Two spaces, bitches. by gstoddart · · Score: 2, Insightful

    Yeah, if you are a douche bag. It's 1 space. WTF is the reason for 2? Your eyes so poor you cant see the delineation?

    Because some of us are old and spent many years in a monospace font, and liked it.

    Seriously, I've been doing two spaces after a full-stop for so long that I'd never be able to stop doing it (I've been typing since the early/mid 80's). It just becomes part of how you do things. The reality is, it may or may not render in such a way as anybody will notice it -- that doesn't mean I'm going to stop doing it.

    If you were taught to use the two spaces, you're likely to always use that.

    --
    Lost at C:>. Found at C.
  68. We're talking text, not code by ProppaT · · Score: 4, Informative

    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."
    1. Re:We're talking text, not code by Sir+Holo · · Score: 1

      Rivers are more frequently caused by double-justification, which expands all spacing characters.

    2. Re:We're talking text, not code by Anonymous Coward · · Score: 0

      *NOTE* - It might seem contradictory that I'm advocating single spacing, yet I've double spaced between all my sentences.

      Not really, since HTML doesn't allow it.

    3. Re:We're talking text, not code by ProppaT · · Score: 1

      I would say that double-justification is the easiest way to create rivers. I wouldn't say that rivers are more frequently caused by double-justification. Double-justification is rarely ever used. You have to have a really specific purpose to use double justification. Even packaging designers, which used to be the largest offenders of double justification, rarely do it anymore. There's just no need. The only example I can bring to mind of a justified double justification was where someone artistically used spacing to create an image in the documents white space. Tacky, but a justifiable use.

      --
      Wise men say, "Forgiveness is divine, but never pay full price for late pizza."
    4. Re:We're talking text, not code by BitZtream · · Score: 1

      Two spaces is a river of white?

      No, it isn't, and thats a silly argument. If you have 'Lines of white' that run through your document then something is seriously fucked up in your document. I'm not sure how 2 spaces can turn into 'Lines of white' ... unless you have line lengths of 1 character.

      It should be reasonable rare that you have more than 2 sentence breaks on a single line unless the line is unusually long (like a wide screen computer monitor) in which case, you'll see even fewer 'lines of white' and the spacing between sentences becomes even more important to the reader.

      Now, when you get into typography and design

      When you LEARN about typography and design, then you can get back to me. So you 'got into it' and thats what you do ... well, you are doing it wrong, being 'into it' doesn't change that.

      The reality of it is, you just went on ranting about what is right and wrong and you don't even understand the question raised or you don't understand the medium your composing in, either way you don't actually know what you're talking about.

      You're talking about the spacing between lines and between paragraphs. The subject at hand is the number of spaces after the end of one sentence and the first character of the next sentence, which you couldn't possibly have doubled up in your post because HTML doesn't work that way and slashdot doesn't allow you to use the nbsp entity. You just added an extra ENTER which is not a SPACE.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    5. Re:We're talking text, not code by Anonymous Coward · · Score: 0

      It might seem contradictory that I'm advocating single spacing, yet I've double spaced between all my sentences.

      Don't worry. HTML took care of that for you.

    6. Re:We're talking text, not code by ProppaT · · Score: 1

      Good call. I forgot that HTML wouldn't allow it. That being said, I did put in double spaces even though the second was removed. :)

      --
      Wise men say, "Forgiveness is divine, but never pay full price for late pizza."
    7. Re:We're talking text, not code by Kazoo+the+Clown · · Score: 1

      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.

      This is a silly argument. I haven't been distracted by noticing "rivers of white" since the first days of the NEC spinwriter, and that was only due to really bad justification programs. And anyway, just what is your problem with it? Are you getting paid by the character or something? I DO get distracted by sentences that seem jammed together, pretty much like the ones you see here on slashdot that have only one space with proportional fonts, where the space is far skinnier than it is in monospaced fonts. You can get away with one space in monospaced font, because you're getting a full-width separation. But with proportional spacing, things just seem all jammed together because of the skinny space. Inter-sentence punctuation is separated by a single space-- with the comma for instance, or periods in abbreviations. This should be differentiated from the spacing between sentences. Lack of double spacing essentially produces run-on sentences.

    8. Re:We're talking text, not code by R.Mo_Robert · · Score: 1

      Due to the large variation of widths in characters

      I'm clearly missing something: weren't they all monospaced?

      --
      R.Mo
    9. Re:We're talking text, not code by Anonymous Coward · · Score: 0

      :D

  69. Who is doing your typesetting? by horigath · · Score: 1

    Don't do it. Good typesetting is largely about eliminating unsightly gaps in the text, especially if text is justified, balancing hyphenation and spacing and line length and smaller adjustments. When you double space your sentences, all you do is add an extra step as your typographer does a search-and-replace to eliminate them. Yeah, web browsers do this automatically, but if your extra space sneaks its way into my indesign file it's just going to screw up the spacing that I have specified in the document styles, and likely carefully adjusted (if I'm doing my job well, anyway). Most likely I'm compiling several documents into one, and some of them have extra line breaks and spaces hidden away in them—often inconsistently. And I'll be really upset if it goes to print and I discover that I missed a single space someplace. If a finished document should have larger spaces than are automatically generated by your typesetting engine and your font, then change your font, change your engine or change your stylesheet. If you're a coder you don't tolerate useless functions wasting cycles and space. I won't tolerate your extraneous spaces.

    1. Re:Who is doing your typesetting? by horigath · · Score: 1

      Don't do it.

      Good typesetting is largely about eliminating unsightly gaps in the text, especially if text is justified, balancing hyphenation and spacing and line length and smaller adjustments. When you double space your sentences, all you do is add an extra step as your typographer does a search-and-replace to eliminate them. Yeah, web browsers do this automatically, but if your extra space sneaks its way into my indesign file it's just going to screw up the spacing that I have specified in the document styles, and likely carefully adjusted (if I'm doing my job well, anyway). Most likely I'm compiling several documents into one, and some of them have extra line breaks and spaces hidden away in them—often inconsistently. And I'll be really upset if it goes to print and I discover that I missed a single space someplace.

      If a finished document should have larger spaces than are automatically generated by your typesetting engine and your font, then change your font, change your engine or change your stylesheet. If you're a coder you don't tolerate useless functions wasting cycles and space. I won't tolerate your extraneous spaces.

      And so I end up forgetting to add html paragraph breaks to rant about typographic spacing. Perfect.

    2. Re:Who is doing your typesetting? by longhairedgnome · · Score: 1

      It's OK :D

      --
      GENERATION O98346: The first time you see this, copy it into your sig and remove a random number from the generation. T
  70. Easy fix by Anonymous Coward · · Score: 0

    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.

    Just reword your sentence to not start with those words. I dare you to throw a sentence at me that cannot be rewritten to start with a different word yet convey the same meaning.

  71. A computer is NOT a typewriter by stazeii · · Score: 1

    I've heard this saying for years. Yes, when I learned to type on a computer, then teacher taught us two spaces, but she probably learned on a typewriter. Modern font kerning does not require two spaces for the first letter after a period to look right. Two spaces on a typewriter made sense. On a computer, it's completely wasted space. I am glad to see modern devices (iPhone/iPad, etc) all insert a period if you double space. Hopefully that'll fix the problem.

    1. Re:A computer is NOT a typewriter by Culture20 · · Score: 1

      I am glad to see modern devices (iPhone/iPad, etc) all insert a period if you double space. Hopefully that'll fix the problem.

      Like hell it will. I manually punctuate and add two spaces with my iPhone because it's the right thing to do, and we can all agree that doing the right thing helps us all. Now you know. And knowing is half the battle.

  72. Two Spaces!! by Anonymous Coward · · Score: 0

    Ugh. I hate stuff like this. Style guides be damned. Read a book, any book from now going back until X... suddenly in 2010 we feel the need to use less whitespace.... no.

  73. Re:Two spaces, bitches. by Rob+the+Bold · · Score: 1

    WTF is the reason for 2? Your eyes so poor you cant see the delineation?

    They are, you insensitive clod. Besides, when I'm reading I'd rather spend my effort on comprehension and reflection, rather than trying to puzzle over where a sentence ends. Sure I can do it, but why would you make me? If we can make that easier for people with 2 spaces instead of one, why wouldn't we? To save disk space? Why not just convert the colons to semicolons to make up the storage cost?

    --
    I am not a crackpot.
  74. Re:Two spaces, bitches. by John+Hasler · · Score: 5, Funny

    Your eyes so poor you cant see the delineation?

    Not only that, they're so bad I can't even see the apostrophe in your sentence.

    Notice when you read shit on the internet it is single spaced after punctuation, and not double spaced?

    One of the many deficiencies of HTML.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  75. Consulting the Book of Armaments by Brett+Buck · · Score: 5, Funny

    Three is the number of the counting, and the counting of the number shall be three.

    1. Re:Consulting the Book of Armaments by jitterman · · Score: 1

      Five is right out!

      --
      For conscience is the wound, and there's naught to staunch it
    2. Re:Consulting the Book of Armaments by eu4ik · · Score: 1

      But I don't want my code to explode!

  76. Rebel by Anonymous Coward · · Score: 0

    I am a rebel, I use python and three space tabs; the 'preferred' four spaces just takes up too much space and doesn't add anything for me (or my fellow programmers).

    1. Re:Rebel by Anonymous Coward · · Score: 0

      I am a rebel, I use python and three space tabs; the 'preferred' four spaces just takes up too much space and doesn't add anything for me (or my fellow programmers).

      This is why I use one space tabs in Python.

  77. Don't use abbreviations by mysidia · · Score: 1

    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.

    It's easy if you don't use abbreviations in a sentence, or don't use "." to indicate an abbreviation in a sentence.

    Perhaps it makes more sense to use two spaces after an abbreviation; it uses less paper, has less a systemic impact.

    As abbreviations are so rarely used... formatting of an abbreviation should not be as much an issue as formatting of normal sentences.

  78. I looked this up already and by Anonymous Coward · · Score: 0

    Most typographers state that since the age of the computer, we should use one space after a sentence. I went through many websites as well as asked an old professor (typographer). Yes I know that I can't believe I wasted my time either but it was bothering me. I used to do two and now trained myself to do one. Two spaces were used because typewriters were not made with the ability to space accordingly and it was hard to read with only one space. I would agree that if you have some fonts that are very fancy or skinny, you can use two spaces to make it readable however for most common fonts, you should use one. Once you change, you will see the difference when you do two.

  79. WYSIWYG (but not what you want) by Anonymous Coward · · Score: 0

    In bygone days some word processors would lay out thge text with correct spacing even when you typed too many or too few spaces after a full stop.

    After correcting so mny word processor documents with spaces to line up indents, I firmly believe that was the correct approach.

  80. Wow... by Anonymous Coward · · Score: 0

    Is this really an issue? Go outside and get some sun. Note: I used two spaces.

  81. Re:Two spaces, bitches. by computational+super · · Score: 1

    Actually, I recently signed a publishing deal, and the publisher rejected my initial submissions because I was typing two spaces after the sentence (as that's the way I was taught to do it in school). It was a major PITA to go back and change, too, since the book includes code samples, so I couldn't just do a "s/ / /g".

    --
    Proud neuron in the Slashdot hivemind since 2002.
  82. Question: Why stretch the sentence? by Anonymous Coward · · Score: 0
    Force justification is horrible. It makes reading text painful, and does not allow the eye to naturally follow the lines

    If you don't force justify the left and right margins, there is no worry about single space or double space between sentences. It is irrelevant.

  83. The bible says One by mretondo · · Score: 3, Informative

    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.

    1. Re:The bible says One by FrankDrebin · · Score: 1

      "In the beginning there was the word, then came the period."

      --
      Anybody want a peanut?
    2. Re:The bible says One by Anonymous Coward · · Score: 0

      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.

      That right there is enough reason to disregard the Chicago Manual of Style completely. When you're wrong on such a fundamental level, you should no longer be relevant.

  84. Space for readability by Tungbo · · Score: 3, Interesting

    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.

    1. Re:Space for readability by thoromyr · · Score: 1

      Let's be considerate of our readers rather than swear allegiance to a rule learnt in our youth.

      Which is where all of the "it must be two spaces" adherents come from, it was a rule learned in their youth. People often have a hard time giving up things they learned early.

    2. Re:Space for readability by Kennita · · Score: 1

      Typography has en spaces and em spaces. I think there should be more space between sentences than there is between words, so I use two spaces. I might be convinced to use one if the one could be an em space. It definitely annoys me when I type two spaces and the software decides that there should be one. It annoys me when computers decide to fix my spelling, too: I spell better than computers do. Which reminds me: I also think there should be two spaces (or an em space) after colons.

      Note: single spacing in this posting is under protest. Single spacing may seem to be much more popular than it is, because it only takes one programmer (or his/her boss) to override the preferences of many, many people.

  85. Re:Two spaces, bitches. by commodore64_love · · Score: 1

    >>>WTF is the reason for 2? Your eyes so poor you cant see the delineation?

    Yes.

    .

    Slashdot strips the extra spaces, but double-spacing on MS Word makes the document easier to read. Whitespace is just as important a consideration as the actual text because it helps make the document inviting to the reader, ratherthanruneverythingtogetherinonegiantblackmass. (Yhat's how I used to program... it saved memory.)

    --
    "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
  86. Re:Two spaces, bitches. by selven · · Score: 2, Interesting

    Try 's/\. / /g'. I can't think of any code that would get screwed up by that.

  87. Re:Two spaces, bitches. by Audacitor · · Score: 2, Insightful

    You could have entered tons of spaces after that period. Depending on which comment post mode you're using, it may be using standard HTML behavior, which strips out superfluous white space, including double spaces between sentences.

  88. When in doubt, Search your Chicago Manual of Style by tyrione · · Score: 2, Informative

    I don't care if you're a casual writer or developer, having the Chicago Manual of Style [15th Edition myself] on hand will teach you to become a much better typesetter in your work.

  89. Re:Two spaces, bitches. by JonahsDad · · Score: 1

    If you were taught to use the two spaces, you're likely to always use that.

    I disagree. Also typing since mid 80s. Switched over to 1 space in the late 90s. Only took about a week to get used to it.
    On the other argument, I prefer to tab and let the IDE figure it out, but by mutual agreement I'm replacing my tabs with 3 spaces.

  90. iPad is best of both by SiliconEntity · · Score: 1

    On the iPad (which always capitalizes it's own name that way (also it always puts an apostrophe in "it's" even when it's wrong)) you can type two spaces INSTEAD of a period at the end of a sentence, and it turns it into a period and a single space. Best of both.

    1. Re:iPad is best of both by TangoMargarine · · Score: 1

      On the iPad [...] puts an apostrophe in "it's" even when it's wrong)

      Just fantastic. As if it wasn't hard enough for the layperson to get it wrong 100% of the time.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
  91. candidate for lamest Ask Slashdot by Gothmolly · · Score: 0, Redundant

    This is like asking "I don't like to spell the word 'the', can I spell it 'teh' instead?" A new sentence begins with 2 spaces after the preceding period. It's like, a rule or something.

    Slow news day ??

    --
    I want to delete my account but Slashdot doesn't allow it.
  92. Fast Forward to 2050 by InvisibleSoul · · Score: 1

    I'mWayAheadOfTheTimes.TwoSpacesBecameOneSpace,AndFiftyYearsFromNow,OneSpaceWillBecomeNoSpaces!

    1. Re:Fast Forward to 2050 by wagr · · Score: 1

      Or go back #00 years and move to Japan.

  93. Re:Two spaces, bitches. by HTH+NE1 · · Score: 5, Informative

    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 &nbsp; 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?
  94. From the Chicago Manual of Style, 15th ed. by OldeTimeGeek · · Score: 2, Informative

    "A single character space, not two spaces, should be left after periods at the end of sentences (both manuscript and in final, published form) and after colons."

    1. Re:From the Chicago Manual of Style, 15th ed. by The_mad_linguist · · Score: 1

      I'm sorry, I thought that we weren't speaking french, and didn't have some sort of centralized authority dictating the proper use of our language.

    2. Re:From the Chicago Manual of Style, 15th ed. by Sir+Holo · · Score: 1

      Only a single space after colons: Has the world fallen around me?

    3. Re:From the Chicago Manual of Style, 15th ed. by Fujisawa+Sensei · · Score: 1

      "A single character space, not two spaces, should be left after periods at the end of sentences (both manuscript and in final, published form) and after colons."

      1 space is used in publications because it saves on printing costs. Also use the "Chicago Manual of Style" if your doing work for publication,. Otherwise do yourself a favor and stick with "The Elements of Style" by Strunk and White, because style books shouldn't be more than 1000 pp long, (CMoS 16th ed. is now 1040 pp!) .

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
  95. 2 spaces is easier to read. by Toasterboy · · Score: 1

    Duh, the extra whitespace helps you parse each sentence seperately.

    It's much more mentally taxing to read a singlespaced block of mooshed together text. Also, typography concerns are nowadays about how to wrap text around oddly shaped illustrations in magazines and advertisements without strange gaps, not making actual text readable. The typography nerds may claim that the original standard before the advent of typewriters and modern computers is "more correct", but I rather think it's not due to objectiveness in analyzing which one is actually better.

    1. Re:2 spaces is easier to read. by pdboddy · · Score: 1

      I think it is objectiveness. It is easier to read, if not "more correct". The more computer power the advertisers and magazine editors have, the more they can "do" with their adverts and articles. But just because they can do more, doesn't mean it is better.
      Another example is roleplaying books. White Wolf has some fantastic (and not so fantastic) artwork in their books, but sometimes their layout burns the eyes with harsh contrast between images and text, or not enough contrast so that it all seems to blend together.

      --
      Julie Moult is an idiot.
  96. Abbreviations are not a problem... by dingen · · Score: 1

    ...since they aren't supposed to be used in written texts anyway. Shortening words is nice for a note on the fridge, but nothing more.

    --
    Pretty good is actually pretty bad.
    1. Re:Abbreviations are not a problem... by Anonymous Coward · · Score: 0

      What about titles (e.g. Dr. Smith)?

    2. Re:Abbreviations are not a problem... by ceoyoyo · · Score: 1

      Perhaps you mean contractions. Many abbreviations are standard in formal writing. While almost everyone probably knows what "etcetera" means, even if they may never have seen it written out, how many people even know what "et alii," "et aliae," and "et alia" mean? You'd certainly never actually type any of those in English.

    3. Re:Abbreviations are not a problem... by TangoMargarine · · Score: 1

      To be fair, when was the last time you saw "et. al." used outside of a reference citation?

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    4. Re:Abbreviations are not a problem... by ceoyoyo · · Score: 1

      Why shouldn't citations count? I happened to write et. al. no less than four times today, in a formal document (that is, not on Slashdot).

      "Etc." is used very commonly anyway, and illustrates the point nicely. Depending on what exactly you're writing there are many other abbreviations that are commonly used in formal writing.

    5. Re:Abbreviations are not a problem... by TangoMargarine · · Score: 1

      In formal writing, sure. I was talking about day-to-day conversation, newspapers etc. but upon closer inspection see that that was a bit offtopic. Sorry about that.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    6. Re:Abbreviations are not a problem... by Kizeh · · Score: 1

      My fellow grad student wanted to use et alia, and was promptly advised to knock that out if he wanted to graduate and stick with et al. That being said, we grew up with flavors of TeX, and only heard about this two space stuff recently. I had always used and seen other people use one space.

    7. Re:Abbreviations are not a problem... by ceoyoyo · · Score: 1

      The two space thing makes sense, especially with TeX. TeX doesn't care if you use two spaces or not - it'll make the between sentence spacing whatever it wants in the rendered copy. But if you want to count or automatically identify sentences, the two spaces makes it a lot easier.

  97. The answer (though it's not very satisfying) by bfootdav · · Score: 2, Informative

    I've given this a lot of thought over the years and I believe you can break it down into three circumstances

    1) If you're using a monosaced typeface or a typewriter, use two spaces. It's the convention and I personally think it makes reading the text much easier. Of course how often does this situation arise these days? Not very.

    2) With a typesetter or typesetting software a "space" has no specific length as it varies depending on the needs of the typesetter. That said some typesetters pad the space after a period and some don't. Either way it will look good and consistent. Trust your typesetter. Though if you use TeX you have your choice of which style to go with. It doesn't matter which you choose, it'll look fine.

    3) If you're using a word processor it doesn't matter. Word processors produce crap for output. By using one you are stating up front that you don't care how the final product looks. By definition you are producing an informal text and as such you can use as many spaces as you want since it's not going to affect the aesthetic value or readability of the text any more than the decision to use a word processor in the first place. If you do care about how it looks and reads use typesetting software.

  98. Re:Two spaces, bitches. by Rob+the+Bold · · Score: 4, Funny

    End of discussion.

    Awesome.

    Next topic: emacs or vi.

    --
    I am not a crackpot.
  99. formatting != content by PJ6 · · Score: 1

    Spacing is a function of formatting, not content. You had both mixed together when you used a typewriter, but now that you're using a computer you should treat them as separate concerns. For basic issues such as this you also need to assume that your word processing software's behavior is correct by default. Let it do what it was designed to do.

  100. epic war waging? where? by Anonymous Coward · · Score: 0

    "an epic battle is waging"

    Citation missing.

    1. Re:epic war waging? where? by An+ominous+Cow+art · · Score: 1
  101. So confused by Anonymous Coward · · Score: 0

    I don't write too much code. In regular correspondence, however, I find myself at a lost on what to do. I was told in an Air Force writing class that I should use two spaces after every period. What actually comes out most of the time is some garbled up mess of inconsistent spacing. No wonder people have such a hard time with English. It's such a horrible and confusing language. I call for a universal language made from the ground up.

    1. Re:So confused by dingen · · Score: 1

      I call for a universal language made from the ground up.

      Done.

      --
      Pretty good is actually pretty bad.
    2. Re:So confused by Anonymous Coward · · Score: 0

      That will be universally adopted.

  102. HTML decides for you by PCM2 · · Score: 1

    I disagree. Even with proportional fonts one space at the end of a period makes the text look crowded.

    You must have a real hard time reading Slashdot, then, or any other site, because in HTML it doesn't matter if you put one space or a hundred at the end of a sentence; it's always rendered as one space.

    Also, as someone who has worked in professional publishing for more than ten years, the rule is what someone stated above. It's always one space, unless you're typing in a fixed-width font. One space after a comma, one space after a period.

    --
    Breakfast served all day!
    1. Re:HTML decides for you by eln · · Score: 2, Insightful

      The fact that HTML decides for you is irrelevant anywhere that isn't using HTML. HTML strips out any repeated whitespace, regardless of whether or not it's at the end of a sentence. HTML also does all sorts of other nutty things with formatting that may or may not make any sense depending on what you're trying to do.

    2. Re:HTML decides for you by PCM2 · · Score: 1

      But my point stands. In HTML, there is a way to denote a paragraph: the <p> tag. There is no way to specify a single sentence, however, and sentences are rendered separated by one space (no matter how many spaces you try to put between them). If there was a problem with this, typesetters would be up in arms, just like how graphic designers complain about not having precise control over typographic features like leading and line spacing. But nobody complains, because a single space between sentences has been the typographic convention for as long as anyone remembers. You see single spaces not just in HTML, but in books, magazines, newspapers, and everywhere else, too. If it all looks "crowded" to you, you must have a hard time reading.

      --
      Breakfast served all day!
    3. Re:HTML decides for you by jgrahn · · Score: 1

      But my point stands. In HTML, there is a way to denote a paragraph: the

      tag. There is no way to specify a single sentence, however, and sentences are rendered separated by one space (no matter how many spaces you try to put between them). If there was a problem with this, typesetters would be up in arms, just like how graphic designers complain about not having precise control over typographic features like leading and line spacing. But nobody complains, because a single space between sentences has been the typographic convention for as long as anyone remembers. You see single spaces not just in HTML, but in books, magazines, newspapers, and everywhere else, too. If it all looks "crowded" to you, you must have a hard time reading.

      I suspect this might be like the constant noise from a fan -- you don't notice how it bothered you until it goes silent. Really good typography just feels more pleasant by removing tiny annoyances which you don't consciously notice. (Don't know if it's true for this extra long space though.)

  103. dropspacingandpunctuationmakrs by pdp1144 · · Score: 1

    letsjustdropthespacingalltogether itdoesn'treallyaddanything whenyoulookatthehistoryofwritingspacingandpunctuationmarksarenewinventions letsgetridofthem

  104. European rules are different by PCM2 · · Score: 1

    If you're teaching a non-English language, however, the rules are sometimes different. In France, for example, it's not uncommon to put one space before a question mark (?) or an exclamation point (!), like this: Zut alors !

    I see a lot of people do that in English, too, but it's not correct.

    --
    Breakfast served all day!
    1. Re:European rules are different by mseeger · · Score: 1

      Je n'ai jamais entendu les françaises .

    2. Re:European rules are different by quacking+duck · · Score: 1

      Indeed, and this becomes problematic when putting French on the web if you're doing a simple copy-and-paste, because the browser might put the punctuation mark on the next line if it runs out of space. You have to manually replace all such spaces with &nbsp; (non-breaking space character) in the code to ensure the last word in the sentence will always be attached to the punctuation, it's annoying as hell.

    3. Re:European rules are different by PCM2 · · Score: 1

      Another one in English is the relationship between periods (full-stops), commas, and quotation marks. American style says you should always put them inside the quotes, "like this," but if you're a programmer you have to remember to shake that habit when coding!

      --
      Breakfast served all day!
  105. Two spaces... by pdboddy · · Score: 1

    If I am sending an email or a typewritten letter, I always hit spacebar twice after a period. In SMS and Twitter, I only hit it once due to the character limitations per message.

    --
    Julie Moult is an idiot.
  106. who gives a shit? by Anonymous Coward · · Score: 0

    who can honestly give a shit about such trivialities?

    1. Re:who gives a shit? by pdp1144 · · Score: 1

      old school; high school typing teachers. the kind that make you learn on a manual type writer before you can go to the more advanced electric.

  107. This is a joke by stonewolf · · Score: 0, Flamebait

    Right?

    I mean, seriously, no body &*^&%$*^ cares.

    If you do in fact care then I hope you die from a million paper cuts.

    Some people have to have rule for everything and then they go around trying to force the sane people to comply with them. I wonder how such people manage to reproduce. Do they have a rule for how often to do it? How far to put it in? Use a metronome to comply with the insertion frequency rules?

    This? This? is the kind of crap that the /. editors choose to post?

    I'm sorry I bothered to come here today.

    Stonewolf

    Well.... there goes my "Excellent" karma...

    1. Re:This is a joke by John+Hasler · · Score: 1

      > I mean, seriously, no body &*^&%$*^ cares.

      Somebody cares: you. Otherwise you would not have bothered to comment.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:This is a joke by TangoMargarine · · Score: 1

      After reading your post, it becomes apparent why rules are made.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    3. Re:This is a joke by stonewolf · · Score: 1

      No, I do not care about how many spaces you, or anyone else, put at the end of a sentence. I do care that there are people who care about how many spaces they put at the end of a sentence. I firmly believe that being able to care about such a thing is a mental illness similar to OCD.

      OTOH, did you read my title?

    4. Re:This is a joke by stonewolf · · Score: 1

      The truly sad thing is that you believe that your post contains information.

    5. Re:This is a joke by TangoMargarine · · Score: 1

      I thought you would take it better this way than if I was to point out each individual error.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    6. Re:This is a joke by stonewolf · · Score: 1

      I appreciate your going to the effort to make it easy on me. Seriously, I do. But, I still do not understand what you are trying to say.

      If I'm correctly decoding what you said, and I've been a programmer for nearly 40 years so I'm probably conditioned to be completely incapable of understand you :-) but I'll try anyway, ok?

      What I see is two sequential statements. The first one says that if every is in agreement then we must split hairs. If we all agree, they why are we splitting hairs? It makes no sense to me. When we are all in agreement we have no hairs to split.

      The second statement says that if we all dis agreement then we must reconcile our view points. That is a potentially nonterminating processes so if we go off to reconcile view points we may never return.

      It looks to me like the code is flawed. At the very least is should be coded as an
      if() {}
      else if() {}
      else {};

      structure. Not as two sequential if()s. Also I'm guessing it needs to be embedded in an iterative structure of some type or in a recursive function.

      I do not see any attempt to address the state in which we form factions. The code seems to assume that we all either agree or disagree. A situation that never happens.

      I do not see any thing in the code that addresses the key question of what to do when one group is correct and one is not but can not see their error. That is not a reconcilable situation.

      What I think is really missing is an attempt to link what you said back to why some people believe they actually need have a rule for stupid little shit like how many spaces to put at the end of a sentence. It also does not address the question of why anyone would pay any attention to such a rule if it did indeed exist. What kind of person would allow themselves to be controlled in such a way?

      The fact is that we obey rules because disobeying them has consequences. If disobeying a rule can result in harm to you or other people then it makes sense to obey the rule. The only reason to have a rule is as a way to codify dangerous behavior.

      Rules are a useful learning tool for those who are capable of understanding the reasons behind the rule and are useful as threats used to enforce socially acceptable behavior in those individuals (children, sociopaths, and idiots) who are incapable of understanding the reasons for a rule.

      If disobeying a rule causes no to harm to myself or to others then what is the point of even having such a rule? If disobeying a rule causes no harm to others and I am willing to accept 100% of the consequences then I am free to ignore the rule.

      I can not fathom the kind of mind that would ask the question that started this discussion. But, people like that have cost me many many hours of valuable time by making up pointless rules.

      So, what were you trying to say?

      Stonewolf

  108. Tab by AliasMarlowe · · Score: 1

    If a tab is 2 spaces, and we're supposed to put 2 spaces after the end of a sentence than we can all save a keystroke by putting a tab at the end of a sentence instead. It's obviously the optimum solution.

    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  109. Still two for me, at least for a brief moment.... by macraig · · Score: 1

    I still insist on TYPING two spaces, though of course in many instances (as here) the second one winds up being stripped away against my will. I also insist on using doubled consonants in certain words when terminated with "-ing" and such, even though the spelling conventions seem to have changed to eliminate the exceptions (if the Mozilla spell-checker is any indication).

  110. Initial capitals by Angst+Badger · · Score: 1

    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.

    Personally, I prefer to phrase my sentences so that they don't begin with those words. I think it's technically correct to leave them uncapitalized because troff, for example, is an uncapitalized proper noun from a case-sensitive environment, but it's really jarring to non-technical readers and makes it harder to visually register the beginning of the sentence even if you're expecting it.

    --
    Proud member of the Weirdo-American community.
    1. Re:Initial capitals by swordgeek · · Score: 1

      Heh.

      Mentioning troff to non-technical readers is really jarring no matter how you slice it.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  111. Re:Two spaces, bitches. by Audacitor · · Score: 1

    Shit on the internet is single-spaced because of how HTML has to handle white space, not because of deliberate choice on the part of the authors. Because markup is indented and formatted for readability, browsers have to treat white space specially, lest the text on the pages you read retain multi-level indenting from code formatting. That said, I was taught to use two spaces, but one just makes more sense to me.

  112. Re:Still two for me, at least for a brief moment.. by dingen · · Score: 1

    The extra spaces entered in a Slashdot comment aren't stripped. HTML interpreters ignore them when displaying text, but they are available in the source code.

    --
    Pretty good is actually pretty bad.
  113. Re:2. Duh. But... by slgrimes · · Score: 1

    If I didn't put 2 spaces after a sentence, it was a typo, not intentional.

    --
    What is popular is not always right; what is right is not always popular.
  114. Re:Two spaces, bitches. by h3 · · Score: 1

    I learned to type circa 1982, on old manual typewriters bolted to the tables in typewriting class. We were taught the double space.

    A decade or so later of heavy keyboard use, I switched to typing single spaces after sentences. It was no big deal (though honestly, I thought it would be harder).

  115. Use two (2) by cdn-programmer · · Score: 1

    Its two. However some pea brain anal retentive programmers have decided to override this and wrote code to remove the "extra" space. Their reasoning is probably about as sound as wanting to use LF instead of CRLF and to use YY instead of YYYY. We need to put up with them until we can fix it.

  116. umm o-k wiff dis ! by Anonymous Coward · · Score: 0

    Dis sentense is moar readible naw ! Proove mee rong !

  117. Use two spaces so sentence motion commands work. by kfogel · · Score: 1

    Some editors have sentence-wise motion commands (for example, M-a and M-e in Emacs). These rely on the "two spaces after a sentence-ending period" rule in order to distinguish sentence ending from abbreviations. Documents that follow the two-spaces convention are more easily editable by people who use those commands.

    Personally, I also find it much easier on the eyes -- I can find sentence boundaries with minimal mental effort, which saves those cycles for something else (like, say, understanding what the document is saying :-) ).

    --
    http://www.red-bean.com/kfogel
  118. Re:Two spaces, bitches. by computational+super · · Score: 2, Informative

    Actually that ought to be: s/\([.?]\) /\1 /g Since you don't want to lose the "." or the "?". You also need to do: s/\([.?]["']\) /\1 /g

    --
    Proud neuron in the Slashdot hivemind since 2002.
  119. Re:Two spaces, bitches. by Sechr+Nibw · · Score: 1

    Except then he'd lose the .
    's/\. /\. /g'

  120. Re:Two spaces, bitches. by computational+super · · Score: 1

    ... which MS-word doesn't let you do, BTW ...

    --
    Proud neuron in the Slashdot hivemind since 2002.
  121. Is this even a dilemma? by Soul-Burn666 · · Score: 1

    Obviously one space. I really can't understand all the posters above me advocating two spaces. Where did that even come from??
    You write a sentence, using single spaces between words and end it with a period as a sentence separator - Followed by a word separator, one space.
    Before this article, I never knew *ANYONE* used double-spaces. Moreover, I trust LyX for limiting the number of spaces to 1...

    As for code, 4-space indents.

    --
    ^_^
    1. Re:Is this even a dilemma? by mretondo · · Score: 1

      Obviously one space. I really can't understand all the posters above me advocating two spaces. Where did that even come from?? You write a sentence, using single spaces between words and end it with a period as a sentence separator - Followed by a word separator, one space. Before this article, I never knew *ANYONE* used double-spaces. Moreover, I trust LyX for limiting the number of spaces to 1...

      As for code, 4-space indents.

      We were taught back in the day (high school, early 70's) in typing class to use two spaces.

  122. .ss 12 0 by jgrahn · · Score: 1

    I end my sentences with a newline, and then let the formatter (usually troff or a web browser these days) render it in whatever way it finds best.

  123. It doesn't matter in HTML. by stretch0611 · · Score: 1

    Now that we are losing print and becoming web based it does not matter, the answer in HTML will always be ONE. You can put as much whitespace as you want at the end of a sentence and HTML will just convert it to one space.

    Now you are welcome to add "&nbsp;" at the end of a line to get an extra space, but it will cost you 6 keystrokes.

    --
    Looking for a job?
    Want your resume written professionally?
    DON'T USE TUNAREZ!!!
  124. Re:Two spaces, bitches. by icebraining · · Score: 1

    That's why when I write longer reports with embedded code, I keep the code in separate files and then put an \include{} in the main file, and let LaTeX embed it to produce the final PDF.

  125. Is it for a book or the internet? by aarenz · · Score: 1

    For all of you that posted comments, no matter how many spaces you put between the period and the next word, nearly all of us will see it as one, since the default for browsers is to compress white space. Unless you all put multiple "&nbsp" codes between your sentences, then they all came out as a single space to the world. So it looks like firefox, safari, chrome and IE have made that choice a non-issue for us, unless we really get our hands dirty writing HTML.

  126. Re:2. Duh. But... by evilbessie · · Score: 1

    Bah, /. stop screwing with my whitespace.

  127. Re:Two spaces, bitches. by Anonymous Coward · · Score: 0

    Not to mention, the extra space is OF NO CONSEQUENCE.

    I mean really, people, there's no reason to fight or alter an entrenched habit if it doesn't hurt anything, and the excess is automatically stripped out much of the time anyway.

    Can we move on to more important things, like spelling "sepArate" properly?

  128. Re:Two spaces, bitches. by amicusNYCL · · Score: 1

    Notice when you read shit on the internet

    You know what else you notice when you read "shit" on the internet? Terrible grammar, poor spelling, words like "u", "r", "ur", "lol", spelling contractions like "can't" without an apostrophe, leaving hyphens out of things like "double-spaced", etc. The shit on the internet isn't exactly a bastion of good writing practice. There's no reason we should treat language and writing as it exists online as the official version of what is considered correct, especially when there are technical reasons to explain how things like whitespace get displayed by a browser.

    Or maybe I'm just a douche bag, right? Sort of like how it's cool to be dumb, and all the smart people suck?

    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  129. Re:Two spaces, bitches. by 19thNervousBreakdown · · Score: 3, Informative

    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>
  130. Re:Two spaces, bitches. by CAIMLAS · · Score: 1

    Why would you write a book with inline code samples using Microsoft Word? What benefit might that provide? In fact, I'd see it as a disadvantage/frustration, due to how it handles different characters and substitution (?, `, ', ") for non-ASCII types.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  131. Trick Question by CyberNigma · · Score: 1

    That's a trick question because those two snippets of code you posted do two different things.

  132. Re:Two spaces, bitches. by confused+one · · Score: 1

    Emacs.

    Let the flame ware begin!

  133. Big deal by SilverJets · · Score: 1

    Type how you want. If you are writing something to be published and you use two spaces between sentences it is simplistically easy to do a "replace all" in your document and replace all instances of two spaces with one space.

    Not an issue if you know how to use the tools you are given.

    1. Re:Big deal by jpvlsmv · · Score: 1

      And to go the other way, just use the same "replace all" to replace a single " " with two, and you're fine too. As long as the tool doesn't get stuck on replacing the first original " "...

      On the gripping hand, if you are writing something to be published (and aren't paying an editor/typesetter/publisher to do this mundane task for you) the chances are nobody's ever going to read your senseless drivel anyway, so it doesn't matter.

      Of course, if you are paying an editor/typesetter/publisher to do this, you should write your manuscript by hand on a single continuous strip of paper (pull out ye olde paper tape reels) so that you get your money's worth.

      --Joe

  134. Re:Two spaces, bitches. by horigath · · Score: 2, Informative

    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.

    For the last decade we've had a thing called CSS and you can indent your first lines to your heart's desire. Typesetting software for books doesn't do it unless the designer asks for it either.

  135. Definitely not 27 by Anonymous Coward · · Score: 0

    Wh0 would ask such a dumb question?

  136. Editor girlfriend by PIPBoy3000 · · Score: 1

    I tried to switch to a single space for my editor girlfriend, but I find my 30+ years of typing impossible to shake. Fortunately she still loves me. Plus my Droid adds a period if I hit the space bar twice.

  137. Technical reading by JSmooth · · Score: 1

    OK:

    As someone who spends the day reading tremendously boring but necessary technical content any kind of visual breaks is welcome. I would love to see all information broken down into factoids. As an old fart I will probably double-space to my dying day. I do agree this is an almost pointless discussion. :)

    Better:

    - Reads tech content daily
    - Visual Breaks are good

    - Information factoids
    - Double space always

    - Pointless discussion

    **********************

    So which was easier to read? Both presented the same information. I suppose the reverse is true when I'm reading for pleasure otherwise every book would look like the cliff notes.

    -Joe

  138. Re:"tab indenting for code was properly two spaces by 19thNervousBreakdown · · Score: 1

    Damn straight. Tab indenting is, funnily enough, accomplished with the tab character. Make it as many spaces as you want, I don't care.

    --
    <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
  139. Re:Two spaces, bitches. by Just_Say_Duhhh · · Score: 1

    So, why does /. modify your post so that it only has one space between sentences? Did you just call CmdrTaco an insensitive clod?

    --
    I need trepanation like I need a hole in the head.
  140. Obligatory Simpsons: by Mongoose+Disciple · · Score: 1, Offtopic

    I've done everything the Bible says - even the stuff that contradicts the other stuff!

  141. Era? by Myopic · · Score: 1

    I am totally flabbergasted at the apparent popularity of double spaces. Seriously. I thought everyone who learned to type after the invention of the Apple ][ learned to use one space, and I'm surprised to hear otherwise. I'm also shocked that the double space remains popular among people that learned to type on typewriters, considering almost everyone reads text exclusively in single-space format: either on the web, magazine, newspaper, or book, all of which are 100% single spaced. Anyone who claims it is easier to read with double spaces is not being truthful, because it's difficult to believe that they encounter more than a tiny sliver of double-spaced text in their daily lives.

    Obviously, this is a personal preference with very little importance to it. People can, should, and will type however they damn well please. Nevertheless, having come myself to a conclusion which I think is straightforward and unassailable, it's eye opening to see so many posts from people with strong preferences for extra spaces.

    1. Re:Era? by John+Hasler · · Score: 1

      ...considering almost everyone reads text exclusively in single-space format: either on the web, magazine, newspaper, or book, all of which are 100% single spaced.

      Stuff that is typeset in a proportional font is not "single spaced". It is properly kerned. The sentence spaces will appear slightly larger than the word spaces.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  142. Re:Two spaces, bitches. by AltairDusk · · Score: 1

    You may as well not bother if you're only going to use two spaces...

  143. XML To The Rescue by Fantom42 · · Score: 3, Funny

    <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>

    1. Re:XML To The Rescue by DaveV1.0 · · Score: 1, Insightful

      Parsing failure: Invalid nesting at line 11. No end tag for element "word" before end of element "sentence".

      --
      There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
    2. Re:XML To The Rescue by Fantom42 · · Score: 1

      saw that one coming

  144. Go big or go home... by Wiarumas · · Score: 1

    I use two... because that's what she said.

    --
    I will bend like a reed in the wind.
  145. Nevermind that. by AltairDusk · · Score: 1

    Sorry I got confused and thought you were responding to the tab indenting and not end of sentence spacing.

  146. The Space Patrol was a 1950's TV show by whizbang77045 · · Score: 1

    I thought the space patrol was a 1950's Saturday morning kid show!

  147. Blackberry convention by dave562 · · Score: 1

    In high school and when I first started using computers before that, I always used one space at the end of the sentence. After a while in the working world I realized that everyone I was working with used two. I have been using two for a while now.

    The habit of using two spaces led me to an interesting discovery on my Blackberry a few years ago. If you enter two spaces, it will insert a period for you to end the sentence. So it seems that at least in the world of RIM, two spaces for the end of a sentence is so common that they've gone ahead and used that convention to automatically end sentences for you.

  148. I double-space against my own will. by leastsquares · · Score: 1

    I am firmly in the 2-space crowd... but I am held there against my will. I've tried to reform several times, but I always revert when I stop actively thinking about it.

    I learnt the 2-space convention at school, and several years later I realised that a word processor is not a typewriter, and therefore the double spacing is pretty pointless. But now it is too late - I just can't change. This is easily fixed with an auto-correction rule in OpenOffice and friends - but people will still have to endure my double spacing in emails. Sorry.

  149. Re:2. Duh. But... by HTH+NE1 · · Score: 1

    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.

    This is why I hate keyboards with a split space bar where one side is space and the other is backspace: I keep hitting the backspace. I'll also decide for myself which hand will type the letters B and Y, so I hate split keyboards that don't include redundant B and Y keys, one for each hand.

    --
    Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  150. Re:Two spaces, bitches. by jtownatpunk.net · · Score: 1

    There are. Two. Spaces! /Picard

  151. Re:When in doubt, Search your Chicago Manual of St by Anonymous Coward · · Score: 0

    I don't care if you're a casual writer or developer, having the Chicago Manual of Style [15th Edition myself] on hand will teach you to become a much better typesetter in your work.

    And Robert Bringhurst's The Elements of Typographic Style will make you an even better typesetter than that.

  152. The Slashdot Community Thinks? by DynaSoar · · Score: 1

    "What does the Slashdot community think?"

    Ah, groupmind. Finally, he/she/we/us/it am evolving into a unitary consciousness.

    We think it's an extremely slow news day, and the editor-lobe of our groupbrain has either become extremely lax in their/our selectivity, or they/we are being pulling our collective leg.

    If you're writing for someone, write the way they want or expect. Articles for journals or other public media should be written according to authors' guidelines.

    If you're writing for yourself, who gives a least significant bit about formatting?

    --
    "I may be synthetic, but I'm not stupid." -- Bishop 341-B
  153. medieval era by DriveDog · · Score: 1

    Around 22 years ago, I found a neat little program in a magazine to increase the DOS type-ahead buffer. It had to be typed into a text file, then fed to DEBUG to create a .com file. At the time, I had a secretary who kept asking for things to do, so I gave her the page to type in. She did, but it didn't work. I checked for capital Ohs instead of zeros, but it still didn't work. Then I found the lower case ls instead of 1s. Oh brother. If she'd been my mom's age, I would've not been surprised, but she was about 20 and had been using an ordinary PC keyboard for at least a couple of years.

    So what happened to the program? It didn't work, even after ensuring it was typed in exactly as in the magazine.

    I still keep finding documents with two spaces after periods and keep removing one. It's a life-long endeavor. 4 space indents are about right for most purposes. People I know who use 2 space indents have functions that run on for several pages and can't use 4 because then they can't see the code on the screen or paper.

    I wish I had a disk drive the size of the byte count of all the second-spaces-after-periods in the world. Maybe I do. Maybe it's the one in my circa 2000 PC.

  154. I will always type two spaces. by Gendou · · Score: 1

    If you're not paying me to type a certain way, either FUCK OFF or do a search/replace (or both). I owe you nothing. If you are paying me, and putting only a single space is a job requirement (this has never happened), then I'll do a search/replace when I'm done typing. Then I'll look for a better job. If HTML doesn't render the spaces -- fuck it, not my problem. If you enjoy typing a single space -- I don't give a fuck what you do just like you shouldn't give a fuck what I do.

  155. Always 2 'cos I don't always use a word processor by Tomahawk · · Score: 1

    If not typing in a word processor, 2 spaces are required in order to make the text more legible. This follows for forums, HTML, text editors, comments in code, etc.

    Yes, a Word Processor will space things out for you, but I, for one, will configure OO.org or Word with the '2 spaces' option. I don't like being reliant on technology to do stuff like this for me - personally, I feel that (certainly in some cases) it's dangerous. Extreme example - if a pilot always lands a plane on autopilot, then he's out of practise for when an emergency comes along.

    I learned to type on a computer (a commodore 64, actually), and I learned to hit space twice. Now, when I hit a full stop (period, of you US guys), I automatically hit space twice before starting a new sentence. It's like automatically pressing the clutch before changing gears, or automatically putting the indicator on before turning the a corner - when you learn to do something, you do it automatically.

    Yep, let the word processors adjust stuff automatically, but don't stop teaching the double-space. And don't stop using it either. If you get out of the habit of using it because your word processors will adjust the width of the space automatically, then you won't use it in place where this adjustment won't happen automatically.

  156. For me, just one. by walter_f · · Score: 1

    One space should be sufficient to separate even the longest sentences. ;-)

  157. Re:Two spaces, bitches. by larry+bagina · · Score: 2, Informative

    TeX is the one true typesetting program. By default, it indents paragraphs (except for the first paragraph in a section).

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  158. Two questions by way2trivial · · Score: 1

    when should language evolve if not for laziness (although I tend to think of it as efficiency)

    and why then do you use contractions-- you lazy bastard?

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  159. Supersonic WHOOOOSSSHHHHH!!! by OneAhead · · Score: 1

    Oh wait, supersonic, that should be *BAAANG*

  160. sigh by Ant+P. · · Score: 1

    <abbr title="abbreviation">abbrev.</abbr>

    There. That's a completely unambiguous way to represent an abbreviation. Technical writing? There's no shortage of options for that.

    There's no magic answer to the sentence spacing issue though. Use an em space if it bothers you that much. Go bitch at the Unicode consortium if that's not good enough; they've still got a few empty slots in the General Punctuation block.

  161. Idle? by Anonymous Coward · · Score: 0

    This is what we do now, talk about stuff that is as pressing as this? This topic should be moved to Idle.

  162. The PERIOD, no the SPACE, no the DOUBLE SPACE, ... by itsybitsy · · Score: 1

    ..., No the GOURD, no the SHOW, no the PERIOD, no the SPACE, no the DOUBLE SPACE, no the GOURD, http://www.youtube.com/watch?v=Ka9mfZbTFbk, no the PERIOD, no the SPACE, no the DOUBLE SPACE, ..., no the EGG, ...

  163. proofread by Anonymous Coward · · Score: 0

    I know I know it's a dying artform.. Not even editors can do it correctly these days.

  164. Two spaces by Sir+Holo · · Score: 1

    I've been a writer (scientific articles, editing proceedings) for 15 years now. Two spaces.

    Typefaces in published works are always variable-spaced, and deserve that little extra cushion. Those crazy editors always try to change it back to one.

    What does the Chicago style manual say?

  165. Re:2. Duh. But... by dancingmilk · · Score: 1

    How come your comment only has 1 space after each sentence if you "always put 2 spaces at the end of a sentence"?

    Just sayin...

  166. The answer is... by yoshscout · · Score: 1

    42

  167. One Space for Me by juancnuno · · Score: 1

    I used to be a two-spacer for the longest time because that's what my high school typing classes taught me. Guess what's made me switch to one space? Twitter. Every character in a tweet is very precious. I couldn't spare that extra space. For consistency's sake, I've carried over one-spacing to all my other writing. And the abbreviation problem? Simple. I don't use periods for them. I've been doing that long before Twitter came around. I guess I've always found periods after abbreviations redundant. "No, Mr Bond, I expect you to die." Everyone knows Mr is short for Mister there. So I don't bother with the period.

    1. Re:One Space for Me by e-ignite · · Score: 1

      I used to do two spaces every time until I started posting stuff online (Wordpress blogs, online forms etc) when I found that the one space worked better / made more sense and I made an effort to use single spaces only. However, since getting a new phone and finding the double-tap on the keyboard gave a full stop followed by a space, I've found my old double-spacing habit has come back. I guess your own use pattern dictates your habits, but if you've typed with a double space for years, it's a pretty hard habit to break.

  168. 1, dear god, 1 ... today just write semantically by gig · · Score: 2

    The first thing I do when I edit an article or manuscript is run a find/replace to find 2 spaces and replace with 1. Same as every other editor. So your spaces are all wasted work.

    In the past it was correct to use 2 spaces when typing fixed-width type, and it was wrong when typing proportional type. Today, 2 spaces is always wrong because we don't use typewriters. Today, you just write semantically, not for presentation, because we have infinite varieties of presentation, your writing will certainly not always be published in fixed-width type. In other words, put in good data (a complete sentence followed by a space and then another complete sentence) and leave out bad data (extra spaces.)

    > typewriter

    There is your problem. Note that the year starts with a "2". There are these things called computers. They are garbage-in-garbage-out. 2 spaces after a sentence is garbage that someone will have to clean up.

  169. Journalism Major by BigSes · · Score: 1

    I was a Journalism major in college, and I know they still teach you to use two spaces. I would agree, I think it makes for more reable and pleasant looking text.

  170. Re:2. Duh. But... by slgrimes · · Score: 1

    Read the rest of the comments to my comment: I put 2 spaces, but HTML renders it as 1. Not my fault!

    --
    What is popular is not always right; what is right is not always popular.
  171. Re:2. Duh. But... by rainmayun · · Score: 1

    Perhaps because QUERTY keyboards are designed to make your keystrokes alternate between left and right hands, the period is always typed by the right hand and the following space is typed by the left hand. I have no explanation for your "between words" right thumb behavior. *shrug*

  172. DIN 5008 by Anonymous Coward · · Score: 0

    One space after punctuation. (DIN is Deutsches Institut für Normung, German Institute for Standardization)

  173. Why two? by Lord+Bitman · · Score: 1

    Typing two spaces at the end of each sentence makes exactly as much sense as adding low-level printer control characters to the end of every line in a text file.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  174. Not a readability thing. by tempest69 · · Score: 3, Interesting
    A person who is having issues reading with one or two spaces causing problems needs to stop whining. However, I like the double space after the sentence. It provides me with a better cadence for capitalization. The sound gives me that nice feeling that a chunk of writing is completed. As a single space makes it feel as if the entire paragraph is one uninterrupted stream of thought.

    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.

  175. Here I thought it was "lose" vs. "loose" by drdrgivemethenews · · Score: 1

    The heck with one vs. two spaces. One vs. two 'o's, now that's a battle. Last I checked, two was winning.
    ------
    echo "Be ye in this world, but not of this world." | sed s/world/shit/g

  176. Type two, read whatever you want by Aidtopia · · Score: 1

    This debate has raged for a while.

    Typing and typesetting are different things. I believe you should type two spaces into source material to avoid throwing away valuable information. Your formatting software should adjust the amount of space depending on your reading preference.

  177. Cannon law by Nethead · · Score: 1

    I was taught in Roman Catholic High School in 1976 that it was two spaces. Until the Holy See says otherwise, I'm not going to risk my immortal soul by committing sloth and using only one.

    --
    -- I have a private email server in my basement.
  178. We've known the answer for a while... by frank_adrian314159 · · Score: 1

    ... At least since 2003.

    --
    That is all.
  179. Ugh stretching by Anonymous Coward · · Score: 0

    Full justification looks like crap. I don't know why publishers insist on it. Particularly in newspapers with narrow columns, a short line can have its spaces stretched ridiculously.

  180. Abbreviations, such as Dr., Ms., etc. by tomhudson · · Score: 2, Informative

    Two spaces after a period that ends a sentence.

    Otherwise, Dr. Ms. Mrs. Mme. Mr. Mlle. etc. eng. fr. and all those other abbreviations look like they end a sentence.

    Tab, of course, is ASCII 9, not "n * 0x20", where n==some value between 1 and whatever. Look at python code, where leading white space counts - mixing tabs with spaces is dumb.

    1. Re:Abbreviations, such as Dr., Ms., etc. by xaxa · · Score: 1

      Two spaces after a period that ends a sentence.

      Otherwise, Dr. Ms. Mrs. Mme. Mr. Mlle. etc. eng. fr. and all those other abbreviations look like they end a sentence.

      In the UK we don't tend to put dots after Mr, Dr etc, possibly because it makes it look like they end a sentence.

      (And, as you can see from that sentence, there aren't any dots within "UK" or after "etc".)

    2. Re:Abbreviations, such as Dr., Ms., etc. by RichiH · · Score: 1

      > Look at python code, where leading white space counts

      A language which makes formatting part of the syntax is inherently broken.

      > mixing tabs with spaces is dumb.

      Oh, really? How do _you_ distinguish between indentation and formatting?

    3. Re:Abbreviations, such as Dr., Ms., etc. by tomhudson · · Score: 1

      For matting can certainly be part of the language - it's symbols, same as "for" or "if" or "()" or ";".

      Human languages make formatting part of the language, and they aren't broken.

      O RwO U dYO Ura THER
      WED I
      NT bot her W ithfo
      rm A T in go
      urw ord
      sand se N
      tenc eS
      pro per
      Ly ?

    4. Re:Abbreviations, such as Dr., Ms., etc. by RichiH · · Score: 1

      While
      I
      agree
      that
      formatting
      helps
      in
      reading
      stuff, what you refer to is syntax, not formatting. You can still understand what I wrote above as I modified formatting, only.
      But as modern human languages are not even type 0, the point is almost moot anyway.

      Come to think of it, Latin might be type 2 or even 3, but I don't know. If anyone wants to share their insights into that particular question, be my guest :)
      Same question for Esperanto though I heard it was pretty much broken from a designed language POV.

    5. Re:Abbreviations, such as Dr., Ms., etc. by Civil_Disobedient · · Score: 1

      after a period that ends a sentence

      Yes, you're absolutely correct--I overlooked abbreviations which would naturally only take a single space.

    6. Re:Abbreviations, such as Dr., Ms., etc. by tomhudson · · Score: 1

      Esperanto is a piece of shit. Always has been, always will be. Made for poseurs, by poseurs.

      We don't need a universal language - language shapes thoughts , so the more languages, the more diverse the thoughts and ideas that we as humans will have.

      Makes me wonder about the people who thought it was such a great idea - I guess they want everyone thinking the same thoughts.

  181. Re:How to get out of work on a programming team by Anonymous Coward · · Score: 1, Insightful

    no way! the only correct way is of course

    If (foo=true) {
        a=x;
    }

    *g*

  182. Depends on medium by egcagrac0 · · Score: 1

    1 space between sentences on Twitter and SMS, and probably any other highly space constrained mode.

    2 everywhere else, as it should be.

  183. Re:When in doubt, Search your Chicago Manual of St by John+Hasler · · Score: 1

    > ...become a much better typesetter...

    I'm not interested in becoming a typesetter at all. That's Knuth's job.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  184. Re:Two spaces, bitches. by labradore · · Score: 1

    Excellent point.

  185. Good grief by Anonymous Coward · · Score: 0

    Practically all the points argued above (legibility, typewriter convention, HTML rendering, etc.) are covered in the linked article. But unlike Slashdot, Wikipedia has references to typographical manuals, style guides, modern practices, and scientific studies. For example, several studies have been done about the supposed legibility of double-spacing, but they showed that assertion to be false.

    I agree with the original poster. I've been convinced to try single-spacing from now on. It'll be interesting... in typing this comment, my muscles are double-spacing every time.

    By the way, for code, it's tabs, not spaces. Tabular information -- which is information where regularly-spaced columns designates relationships in the data -- is what the tab is there for. No matter what editor you use, a single TAB keystroke will mean "go one level deeper", and a subsequent backspace will mean "go one level up". For legibility, use whatever size setting you want (4 spaces is my personal favorite).

    Hear that, Guido? TABS, NOT SPACES.

  186. Re:Two spaces, bitches. by MartinSchou · · Score: 1

    If you were taught to use the two spaces, you're likely to always use that.

    By that definition, I should be unable to type properly on an American keyboard layout, because the keys aren't in the same location as they are on a Danish one, which is what I was taught on and use almost exclusively (and have for close to 20 years).

    However, if I were to change the keyboard layout to American, sure, I'd stumble a few times as I get used to the awkward location of ;:-_?()/\' etc., but usually it only takes me about two minutes to get used to it.

    Put me on a German layout, and I'll find other issues, as Z and Y are swapped amongst other things, but again, it really doesn't take all that long to get right.

    Or for a completely different perspective. Languages. Danish and English are only slightly related (both being Germanic languages), which means that you have different rules for grammar and sentence structure. So how come people like me can somehow speak multiple languages, when it's apparently impossible for people like you to stop using two spaces at the end of a sentence?

    Are those kinds of people possibly the same people who use for an apostrophe instead of ', even when you show them that they're actually going to use even fewer keystrokes to achieve their goal AND it will make them look like less of an idiot in the process?

  187. LaTeX and full stops by Anonymous Coward · · Score: 1, Interesting

    Efficiency has nothing to do with it.

    The reason you add two spaces is because the additional space aids your eyes in determining individual sentences. Two spaces gives the eyes an additional visual cue, and thus is far easier to parse.

    Please explain why you used one space between all sentences in your post.

    Agreed. Use one space, and let the software figure things out. (La)TeX has been doing this for decades:

            http://en.wikipedia.org/wiki/Sentence_spacing

    Similarly with indentation with codes. Insert a character, and let the software figure out how to visually portray it (perhaps the project has a code style guide like FreeBSD's style(9)). I've heard of places that do a pre-commit run through lint(1) before allowing check-ins to enforce consistency.

    1. Re:LaTeX and full stops by tehcyder · · Score: 1

      Use one space, and let the software figure things out.

      Why not just puke out a massive mindwank and let the software organise it into prose for you?

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    2. Re:LaTeX and full stops by ultranova · · Score: 1

      Why not just puke out a massive mindwank and let the software organise it into prose for you?

      Because software is not yet capable of that. Once it has, I'll certainly take advantage of that, thus freeing more of my personal brainpower into producing that "massive mindwank", or doing something else.

      Professional writers already use a system like this. It's known as "editors". Bypassing it tends to result in noticeably worse end result.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    3. Re:LaTeX and full stops by not_a_product_id · · Score: 1

      < grin > mindwank< \grin > heh heh

      --

      ---
      We spoke for about a half an hour. I don't recall a thing we said. - Colorblind James Experience

  188. Em space by Joey+Vegetables · · Score: 1

    My understanding was that an em space (a space the width of the lowercase letter m) was the usual typographical approach, but that this could conveniently be approximated by two spaces.

  189. Re:"...we all agreed that tab indenting for code.. by BitZtream · · Score: 1

    Thats okay, you'll get it right one day. We'll wait for you to catch up.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  190. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  191. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  192. Who gives a damn? by HeckRuler · · Score: 1

    I'm all for passionately taking a position in a debate that doesn't really warrant a debate. Like "pop" vs. "coke" vs. "soda". (it's "pop" you vile heritics!). It's a joke though. The entire root cause of the battle is trivial and meaningless. The entire thing is a satirical play on a minor regional linguistic nuance. I do it for a laugh.
    And so as to the question upon the numberings of the spaces between sentences, verily I say unto thee: Who gives a damn?
    If you really passionately care about such a minor thing as this, then you are an anal nit-picker. Now piss off and do something awesome.

  193. All spaces are extraneous. by Anonymous Coward · · Score: 0

    whoneedsspaces?orcapitals?orparagraphs?rvwls?

    Spaces aid the eye. Capitals are an additional aid.

    Without spaces and paragraphs, the mind fatigues and you start to skip parts of what is being read. Vowels just are syntactic sugar, and I love them.

  194. Re:Two spaces, bitches. by Kazoo+the+Clown · · Score: 2, Insightful

    Notice when you read shit on the internet it is single spaced after punctuation, and not double spaced?

    One of the many deficiencies of HTML.

    Perhaps. I'm in the habit of putting an &nbsp; after periods when I write for HTML. Problem would be solved, if it wasn't for comment editing code that strips them out (such as here on Slashdot which you can see here since I put 4 nbsp's separated by spaces after the periods in this paragraph, and despite the fact they are preserved through the preview, they are having no visible effect). The deficiency is not strictly with HTML, but with some of the editors that work with it.

    Though I agree that HTML does not make it easy to maintain double spaced sentence separation. I hate reading single-spaced sentence text, I always notice it and it looks ugly. Perhaps I should insert

    <br>

    after every sentence, and while that would look ugly too, at least it would show my displeasure with the sentence police who have apparently decided that we will not use two spaces...

  195. Two, for two reasons (okay, three) by Anonymous Coward · · Score: 0

    One traditional, one more recent.

    1) From the "typewriter age" that was always the standard;

    2) If you want to parse data in prose using a program it is much easier to parse it a sentence at a time, and with ". " as a sentence delimiter and ". " for some other kind of period (e.g., abbreviations), it makes things much easier.

    A purist also puts two spaces after colons and semicolons within sentences.

    Wait, make that three reasons:

    3) If you REALLY prefer a single space after a period at the end of a sentence, then doing a search-and-replace on ". " to transform it into ". " is trivial, and then everybody is happy. Likewise if you want to do it typographically correctly or something fancy, and use a "long space" or some other specially-tuned whitespace character at the end of the sentence rather than "plain" spaces to make it "proper". Good luck trying to do it the other way around.

    For ordinary text I'll use two, thanks.

  196. The magic number is 3. by stanlyb · · Score: 0

    Nonononono. NO. The proper way is 3 spaces. period.

  197. Re:Two spaces, bitches. by Kazoo+the+Clown · · Score: 1

    Yes, but Slashdot DOES strip  . <- there's 4  's separated by spaces after the period, or at least were when I entered it-- and they are preserved in the edit box through the preview, but do not show up in the rendered version...

  198. Re:When in doubt, Search your Chicago Manual of St by Anonymous Coward · · Score: 0

    History Major that works as a systems engineer now. The average developer/QA/engineer's email grammar is atrocious at the places I have worked... i often end up sending out emails that speak for others which makes me look good to the execs. Btw, I still keep a copy of the Chicago Manual of Style from HIST 301 on my desk. :)

  199. Two spaces, absolutely by dwheeler · · Score: 1

    There are two spaces between each sentence. Period. You want more space between sentences than between words, so that it is easier to parse. Don't give me garbage that this is done automatically; programs have trouble doing this automatically because they can't tell the difference between the period at the end of a sentence ("Jack jumped.") and the end of an abbreviation ("Dr. Williams jumped."). Especially when abbreviations can occur at the end of a sentence (!). There are other ways to do it, but they're all far more painful and tend to get lost when data gets transferred.

    Yes, HTML loses this if you don't use non-breaking spaces, but that's irrelevant. HTML is not the be-all of typography, it loses LOTS of typographical information. If typography is critical to you, you need to use formats like OpenDocument format (editable) or PDF (practically read-only).

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  200. It just doesn't matter... by Anonymous Coward · · Score: 0

    In the old typewriter days correspondence used two spaces after the end-of-sentence punctuation mark. Newspaper and magazines, which contain a lot of text and are printed on paper that is a cost to the business, switched to one space. Put a dozen typographers and designers in a room and you'll get two dozen opinions. On the other hand, all language "rules" are arbitrary and you can do whatever you want. Now everyone shut up and argue about macs vs. PCs.

  201. Two Spaces. by Anonymous Coward · · Score: 0

    I've personally come across text from people with a single space between sentences and had a hard time with sentence separation. Of course, I also can't stand when people use shorthand and ignore capitalization and punctuation.

    When you use BlackBerry shortcuts how do you automatically type a period at the end of a sentence? Press space twice after the last word.

    More importantly, but not necessarily related, where do you stand on the use of commas in a list? I firmly believe there should be one before the "and" of the second to last entry. i.e. One, two, three, and four. This is not the popular way to do it but is considered acceptable. This prevents confusion where a list item contains the word "and" as part of the item. For instance, take this list: Barnes and Noble, Proctor and Gamble, Campbell's and Hunts. Done the accepted way the last two items can be read as one group instead of separate entities. You have to reread it to realize the lack of an "and" before Campbell's makes them separate items.

  202. My fingers don't agree with my eyes by tgibbs · · Score: 1

    In a proportionally spaced typeface, the period already has adequate space after it. I think the double space is excessive, unnecessary and looks ugly.

    But old habits die hard. So after I finish writing something, I do a search-replace to fix all the double spaces that my fingers insist on inserting regardless.

  203. Re:2. Duh. But... by slgrimes · · Score: 1

    Actually, I like that reason - makes sense, my right hand is "busy" with the period, so my left hand steps up. I'm a righty by default, so maybe that's why my right hand handles between words - just force of habit to default right first? Thanks Rainmayun!

    --
    What is popular is not always right; what is right is not always popular.
  204. It Doesn't Matter by Anonymous Coward · · Score: 0

    If you are using a modern Word processor, it doesn't matter. Write how you want. However, if you typed using two spaces at the end of a sentence, it is a simple matter to find and replace all two spaces with one space. It is not so simple to change a one space to two.

    If the submission guide to the publication says two spaces, then use two spaces. If it says one space, use only one space. Remember find and replace is your friend. You can follow the same policy as above for whether or not to use curly quotes or straight quotes too. Find and replace renders the argument moot.

  205. Re:Two spaces, bitches. by Anonymous Coward · · Score: 0

    Me too. Been double spacing since the 70's. I'd sooner give up scotch and smoking!

  206. Semitic markup by Quirkz · · Score: 1

    Would Semitic markup just be filled with lots of and and the like?

    1. Re:Semitic markup by Quirkz · · Score: 1

      darn it. Fake HTML with "oy" and "vey" and "/chutzpah" were trimmed out by the software. Dunno what I was thinking.

  207. Not broken. by matthewv789 · · Score: 1

    You can always use non-breaking spaces if you insist.

    In addition, I worked at one of the biggest printing firms in the world and our typesetting system also stripped out extra spaces, on purpose.

  208. Re:2. Duh. But... by TangoMargarine · · Score: 1

    How do you know you've been doing it for the last 20 years if you just noticed 6 months ago?

    --
    Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
  209. Re:Two spaces, bitches. by quacking+duck · · Score: 1

    Notice when you read shit on the internet it is single spaced after punctuation, and not double spaced?

    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.

    Never mind HTML (i.e. web developers), textarea input boxes even to this day don't allow you to type tabs, the tab key just jumps you to the next form element. This means that ever since webmail became available, everyone had to double-space their paragraphs.

    Notice the default Word 2007 style also adds a space between paragraphs. I usually switch a new document's style back to Word 2003 to get rid of it.

  210. NoSpaces by Anonymous Coward · · Score: 0

    Whyuseanyspacesatall?Thinkofthepaper/bitswecouldsave!

  211. speaking of obsolete, still using qwerty too? by Francofille · · Score: 1

    Even if you start with the presumption that two spaces after a sentence is obsolete, that doesn't necessarily mean that people who are habituated to it need to drop it. qwerty is obsolete but people still use it. We all know it was designed to facilitate imperfect typewriter technology. What percentage of you are typing in dvorak right now, be honest? We use it because we know it. It comes easily now that we've learned it so well. While we're at it, how many of you fellow Americans are using the metric system by default in your everyday lives? Why not? This isn't an argument about who's right or wrong. It's really just about who cares enough to inconvenience themselves to do things properly. If we really cared about stuff like this we ought to all have better penmanship too.

  212. Unicode sentence boundaries by loufoque · · Score: 1

    Look up what the rules for identifying sentence boundaries in Unicode are, and write your text so that your sentences can be distinguished by applying these rules.
    Unicode is THE standard for dealing with natural text, so that's what you should follow.

  213. Paragraphs by Art3x · · Score: 1

    HTML, also by not employing indentation at the start of paragraphs by, has steered people toward double-spacing between paragraphs.

    Which can be fixed with this CSS:

    p + p { margin-top: -1em; text-indent: 1em; }

    1. Re:Paragraphs by HTH+NE1 · · Score: 1

      Yeah, in the midst of editing, I'd deleted the word "default" but left the word "by".

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  214. Two spaces by Wuahn · · Score: 1

    I create technical documents and training materials for a large software development company. I use two spaces between sentences. I think it looks better. Style guides seem to be split on the subject so there won't be any kind of definitive answer. Just go with whatever you're most comfortable with.

  215. Re:Two spaces, bitches. by EkriirkE · · Score: 1

    This is why when I parse text into HTML I do a replace of space-space with  -space.

    I was always taught indent the paragraphs (4 spaces, or 8 if tabbing on a computer), two spaces between sentences, one blank line between paragraphs.

    --
    from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  216. We did write that software by snowwrestler · · Score: 1

    It's called proportional fonts, and they have been standard on computers for decades. Use MS Word or some other font-aware piece of software to print this comment out and measure the spacing between words within this sentence, and then the spacing between this sentence and the preceding period. It's not a full two spaces, but you don't need a full two spaces to make the visual distinction to which you're referring.

    If you're working in constant width fonts, you should still add an extra space between sentences.

    --
    Build a man a fire, he's warm for one night. Set him on fire, and he's warm for the rest of his life.
  217. I gotta be honest by pugugly · · Score: 1

    I looked at the wiki article, and was flabbergasted by the amount of detail in it I looked at the history just to see if this was all created as a joke in the last 24 hours.

    Nope - this has entries going back to 2006.

    And to think they deleted my article on the various types of toejam as crossreferenced by nationality, region, and sock fibers as 'irrelevant' - Sheesh.

    {G} - Pug

    --
    An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
    1. Re:I gotta be honest by TheABomb · · Score: 1

      I looked at the article, and noticed the whole convention was designed to "help signal the end of a sentence." If you read that text string closely enough, you'll see another way the language has already solved that problem for you. (Hint: there's another one right there.)

      --
      MSIE: The world's most standards-complaint web browser.
  218. Two spaces, but if you insist... by gh0st1nth3mach1n3 · · Score: 1

    ... I can live with one, as long as it's an em space.

  219. Looks like you should use... by hurfy · · Score: 1

    Looks like you should use ... a superscript number enclosed in brackets :O

    At least that is what i got out of that link. (=== Most of what i type gets the spaces sucked out by the computer anyways.... and some seem to suck out anything useful for readibility ;)

  220. Two spaces was a workaround for typewriters by FoolishOwl · · Score: 1

    Using two spaces between sentences was a workaround for the limitations of typesetting on typewriters, which couldn't easily adjust horizontal spacing. It's a substitute, much as using two hyphens to represent an em-dash, three periods to represent an ellipsis, underlining to represent italics, or straight quotes to represent curled quotes, are all workarounds for the limitations of typewriters.

    Modern word processors detect and fix these things automatically.

  221. We're talking blank space by shockbeton · · Score: 1

    We hear copy editors, but more often typesetters whining about the two spaces contributing to the vertical river thing. Look. If you want the reader to logically follow your argument on the page and you respect your own thought process enough to trust the reader to come back and reread your sentences, then use the the two spaces. Individual sentences are easier to find that way. If all you care about is achieving a uniformly gray page, then try the single space.

    I can still picture the side of the page (left or right) and approximate position on the page of passages of text I read as an undergraduate in certain books. I looked up just now two such passages I could think of and still have the books and both were from books with extra space between sentences. The pages of such books have distinct features. If all pages just look evenly gray memory is destroyed or not created to begin with in the reader. Either way two spaces is better.

    The issue at hand has been with us for a very long time, but at the core it has nothing to do with keyboards or quantities of "spaces." It has to do with the display of symbols on printed pages. And in particular the failure to adequately include display information into the logical encoding of the symbols as distinct from their appearance on a page.

    If we are just looking at words on a page, the question might be simply, should the white space between words be equal to the white space between sentences? If both sentences and words are demarcated only by space, then the answer must be no, for some method is needed to distinguish the logical structure of a sentence from a mere grouping of words. Given that we have additional sentence ending symbols, the answer should be effortless, but the symbols are vague. Ages ago, someone fucked up and used a period to indicate an abbreviated series of characters. Because of this, the character series period-space cannot sufficiently mark the logical ending of a sentence.

    To restate the original question: "What character (or series of characters) is correctly used to indicate the end of a sentence structure within a series of symbols?" The correct answer is, and must by necessity always be, "The end-of-sentence-character(s)." Unfortunately we are confronted with an Adamsian Total Existence Failure with respect to such a standard.

    Should the white space between an abbreviation ending in a period and the following word be equal to the white space between the end of a sentence and the following sentence? I think the answer is clearly no. Why would they be? The ending of a sentence indicates the end of a logical construct. The ending of an abbreviation is something wholly of a different character. If you must choose between ending a sentence in one or two spaces, use two.

  222. Bill Hill talked about this on Channel 9 by neile · · Score: 1

    The one space/two space debate is really about fundamentals of good typhography when doing text layout. It has everything to do with the overall colour of the block of text you're setting. But I'm no expert. Bill Hill is. He knows more about fonts and typography than likely anyone posting in this quite silly thread, including me. He spoke at length about spaces after periods on Channel 9 back in 2004.

    Want to read more? Then pick up a copy of The Elements of Typographic Style by Robert Bringhurst. It's pretty much the bible of typography and goes into all sorts of wonderful detail on the colour of text, how to lay out pages, when to use em dash vs. en dash vs. hyphen, lowercase numbers, etc. And yes, Mr Bringhurst even talks about spacing after periods.

  223. Re:1, dear god, 1 ... today just write semanticall by Anonymous Coward · · Score: 0

    Amen. I carry it even further with a general cleanup macro: eliminate all double spaces, double returns, multiple tabs; fix common keyboard limitations like "space hyphen space" to em dash, and "digit hyphen digit" to "digit en dash digit"; convert ' and " symbols to proper apostrophe and typographic quotes; ...

    I don't really care how a manuscript arrives. When it leaves my hands, it will meet whatever standards I'm being paid to follow. And to date, after >20 years of preparing content, I've never been asked to make the final result look like a typed manuscript.

  224. Put down the crack pipe by Anonymous Coward · · Score: 0

    The whole point of two spaces is that it is easier to read. The "more standard" is in fact two spaces. Single spacing is a relatively new thing. You've pretty much managed to get everything wrong here. Congrats!

  225. One or two? Cup or cone? by Lime+Green+Bowler · · Score: 1

    One space, of course. With the advent of Fonts That Don't Suck(tm), the additional space is not necessary. So I save 'em.

  226. Re:Two spaces, bitches. by pyster · · Score: 1

    Old dogs should learn new tricks. I'm old too. Double space was always lame. It's what christmas users would do in the bbs days.

  227. Re:Two spaces, bitches. by pyster · · Score: 1

    Check out cnn, fox, msnbc, boing, consumerist, the times, etc. Now check out the BBC, slayradio, or other english sites outside of the US. SINGLE_FUCKEN_SPACED after all punctuation.

    I can forgive bad grammar, crappy spelling, 3133 $p34k, u/r/ur/yer/lol and other chat speak, but double spacing makes me want to slap someones fro and scream "SINGLE SPACE YOU FUCKEN NOOB".

    http://desktoppub.about.com/cs/typespacing/a/onetwospaces.htm

    The pro's use single space, and you should too.

  228. Re:Two spaces, bitches. by pyster · · Score: 1

    Way back... in the bbs days... guess what? EVERYONE FUCKEN SINGLE SPACED.

  229. Why isn't this a poll? by Jon+Abbott · · Score: 1

    The subject line may say it all, but it bears repeating: why isn't this a poll?

  230. Re:Two spaces, bitches. by JesterJosh · · Score: 1

    Actually the paragraph is relatively new. Socrates and such didn't write in paragraphs, an occasional pi was used to denote a change in subject.

  231. Re:Two spaces, bitches. by JesterJosh · · Score: 1

    Icanreadthatjustfine. Isuggestweabolishspacesaltogether. Allwithmesayyay.

  232. I think you are nuts! by nanospook · · Score: 1

    Haven't you been keep up with the news? Chelsea got MARRIED!

    --
    Have you fscked your local propeller head today?
  233. In Japanese.. by Anonymous Coward · · Score: 0

    .. we have no spaces you insensitive clod!

  234. The real answer by TFGeditor · · Score: 1

    Somewhere in the miasma of bandwidth-wasting childish prattle, someone might have answered this, but I'll go anyway.

    Back in the day when print press type was set by hand, it was difficult to keep track of certain things--partly because the type was set backward. It was, for instance, difficult to distinguish between "p" an "q" when viewed backward, hence the phrase, Mind your p's and q's.

    Likewise, it was difficult to discern the beginning and end of sentences, further compounded by limited font availability. Editors, too, who spent/spend all day reading/correcting manuscripts found them difficult to read after a while, so easy-to-read manuscripts received preferential treatment. Thus, doubles-spaced sentences and paragraphs became the standard.

    Today, with desktop publishing and automatic text justification, extra spaces are unnecessary and actually counter productive. So, if banging out something on a typewriter, two spaces. In a word processor, one space.

    (Full disclosure: I am the editor of a print magazine as well as a book author.)

    --
    Ignorance is curable, stupid is forever.
  235. How about you use a brain? by Anonymous Coward · · Score: 0

    You don't capitalise words even at the start of a sentence, but are asking advice on spacing between sentences?
    Get real.

    Well my advice is why don't you fix obvious relevant problems, before fixing irrelevant ones.

  236. Re: Tabs are evil by Capsaicin · · Score: 1

    In Python, where indentation matters, tabs are evil

    Yes, and people who indent with Tabs should be shot! Or maybe they should just get a text editor. ;)

    Actually what is evil is mixing tabs and spaces in the same code. So evil in fact that python has a command the command line switch -t to warn of such evil, and -tt to raise. The style guide suggests only spaces, and 4 per indent. IDLE on the other hand uses only tabs.

    I was being a little ironic about the text editor. I use vi (or vim actually), and it has the nasty nasty habit of mixing both under certain circumstances. For instance if you set the shiftwidth to the standard 4 it will use spaces for one indent and a tab for two. Arghh!!! %| In vim at least you can set expandtab on to nuke all tabs entered. In oldschool vi you have to rely on a more hackish solution (eg. tabstop=10000)

    While I'm on the subject, I can't believe it when I see vi users hitting [Tab] to indent and [BS] to dedent. It's ^T and ^D in insert mode, and >> << in command mode guys!

    So the moral is: use whichever you want, spaces or tabs, but use them consistently (ie. exclusively)!

    --
    Better to be despised for too anxious apprehensions, than ruined by too confident a security. --Edmund Burke
  237. Two. by AP31R0N · · Score: 1

    Unless you are sending a txtmsg and each character costs you something.

    Double tap. Always.

    --
    Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
  238. dear oh dear by Anonymous Coward · · Score: 0

    for ^%^&**% sake....get a life you lot!!!!.....there are more important things to worry about than how many spaces after a period. My mind boggles....

  239. Using character styles by os2fan · · Score: 1

    I make use of style sheets as much as possible. This allows for example, either block or first-line indent. With a style-sheet set down to character-level, one can use single or double-spaces freely at the end of a sentence. The markup language I wrote (KML, see, eg http://www.os2fan2.com/ makes use of a chacter-level style sheet that replaces eg `t and `T by th,TH or , respectively, eg 'the polygloss' vs 'the polygloss as nature intended', both derive from the same source KML file.

    One uses also two kinds of paragraph (p) and (pp), to create leading vs following paragraph. The pp-style paragraph can have either first-line indent (traditional) vs blank-line block style.

    --
    OS/2 - because choice is a terrible thing to waste.
  240. FRENCH spacing??? by Avalon's_Avatar · · Score: 1

    From the Wikipedia article:
    "This was French spacing—a term synonymous with single space sentence spacing .....Double spacing, or placing two spaces between sentences (sometimes referred to as English spacing)......."

    Given free choice, I can tell you this: I would sooner have my danglies ripped off and fed to the dogs than adopt another French system.

    GOD SAVE THE QUEEN!

  241. Re:Two spaces, bitches. by ralph.corderoy · · Score: 1

    Two spaces is definitely correct.It makes a visual distinction that the brain trains in on.An alternative to the horrible   trick, which fails when it falls at the end of a right-aligned line, is Unicode's wide range of spaces.
    To be. Or not to be. That is the question.
    To be.Or not to be.That is the question.
    (It seems typical of Slashdot's decline that it fails to render &#2003; correctly. Nerds would care about such things.)

  242. Re:Two spaces, bitches. by nedwidek · · Score: 1

    Slashdot doesn't, your web browser does. http://www.w3.org/TR/html4/struct/text.html#idx-white_space-2

    In particular, user agents should collapse input white space sequences when producing output inter-word space.

    This is why we have &nbsp; and <pre>

    --
    Post anonymously - For when your opinion embarrasses even you!
  243. Let LaTeX decide by Phred+T.+Magnificent · · Score: 1

    I hit the space bar twice in vim and then trust LaTeX (or the browser, or whatever's responsible for the actual rendering) to Do The Right Thing.

    --
    Where is the wisdom we have lost in knowledge?
    Where is the knowledge we have lost in information?
  244. Re:2. Duh. But... by slgrimes · · Score: 1

    I've been in front of a keyboard for the last 20 years (thankfully not the entire 20 years - I get up to use the bathroom every now and then), but never noticed what my thumbs were doing when I hit the spacebar - I just hit the spacebar. Someone else actually noticed me doing it & wondered why, and I've been wondering ever since. Could be something I've only started doing recently, but suspect it's how I've typed all along & just never realized.

    --
    What is popular is not always right; what is right is not always popular.
  245. Re:Two spaces, bitches. by amicusNYCL · · Score: 1

    Check out cnn, fox, msnbc, boing, consumerist, the times, etc. Now check out the BBC, slayradio, or other english sites outside of the US. SINGLE_FUCKEN_SPACED after all punctuation.

    Actually, BBC appears quite fond of separating sentences with a line break. Other than that, web browsers render 2 spaces as 1 space. Even if they hit the space bar twice, it's still going to display in the browser as a single space. The only place online you would see two spaces in a row is if they used a non-breaking space character or if the text is in a preformatted tag.

    --
    "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  246. Correction to own post: by RichiH · · Score: 1

    That should read:

    set listchars=eol:$,trail:-,tab:>-,extends:>,precedes:

    Sorry.

  247. Gah, another correction by RichiH · · Score: 1

    Gah... Slashdot eats "HTML tags", i.e. the left angle bracket after "precedes:" and the left angle bracket F2 right angle bracket is removed.

    This being Slashdot, you are neither warned about this fact nor are you sent into preview mode automagically.

    The full, non-Slashdot-garbled, code can be found at http://paste.debian.net/82317/

  248. Wrong. by RichiH · · Score: 1

    Nice rant, but I use a tabwidth of four. I might lose some screen real estate, but you can still read my manually broken lines if you set your editor to two.

    I counter your implicit assumption that catering to deep nesting with a tabwidth of two with my tendency to factor out code blocks.

    Finally, while I agree that a textwidth of 80 is nice for code (and 72 for emails), that practice seems to be changing due to wider and wider screens. Similar to how computers did away with the need for fixed-width tabs ;)

  249. Keep using two spaces... by Anonymous Coward · · Score: 0

    We need to stick with two spaces so that our children and our children's children will learn how to properly type, so that when a coronal mass ejection or an Iranian EMP comes along and destroys all the fancy computer machines, everyone will be able to jump right in to using them old mechanical typewriters again.

  250. Re:Two spaces, bitches. by Anonymous Coward · · Score: 0

    It appears that the nature of HTML enforces the single space model. Pll should save their keystrokes and single space.

  251. Ugh. by Anonymous Coward · · Score: 0

    Two spaces between sentences or GTFO.

  252. Just took a clerical position Civil Service Exam by TheABomb · · Score: 1

    The other day I took a civil service test for a clerical position (because many people don't seem to agree that the recession's over) and on the typing speed section (70 wpm means I actually did learn something useful in high school) there was a clear instruction to use two spaces at the end of a sentence. There was also references in the text I was typing to fax machines being "productivity enhancing," which (besides slowing down my wpm considerably as a good typist would hyphenate that phrase or the twenty like it in the text) led me to wonder how long ago the test was designed (so did the questions on the test about typewriters, which the Commonwealth of Pennsylvania apparently still issues its employees).

    --
    MSIE: The world's most standards-complaint web browser.
  253. Guido's style guide suggests 2. by dumbunny · · Score: 1

    http://www.python.org/dev/peps/pep-0008/: You should use two spaces after a sentence-ending period. When writing English, Strunk and White apply.

  254. Umm... spellchecker? by paxcoder · · Score: 1

    Next question, please.

  255. Another reason to hate Twitter/Facebook... by CeruleanDragon · · Score: 1

    I used to properly put 2 spaces after every sentence... but the need to conserve space (literally) in 140 or 240 character posts (Twitter/Facebook, respectively), have kinda started breaking me of that habit. Luckily I don't really use Twitter *that* much and usually only post links on FB, so... thanks to Slashdot and my getting more into forum posting elsewhere (as I'm finally reaching that point in my career/age/wisdom level where I can actually answer some people's questions, heh. And I'm becoming a grouchy, opinionated old man), I do get some practice in double-spacing after periods. As I have always believed it should be.

    --
    ad astra per alia porci
  256. It's not about the end of a sentence, by Anonymous Coward · · Score: 0

    it's about what happens between the end of a sentence and the beginning of the next sentence, aka "sentence spacing".

    And yes, the answer is "Because that would make it harder to read". Try it.