home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!spool.mu.edu!cserver!craigh
- From: craigh@cserver.plexus.com (Craig Heilman)
- Subject: Re: The Correct Way To Write C if-Statements
- Message-ID: <craigh.721691551@cserver>
- Sender: news@cserver.plexus.COM
- Nntp-Posting-Host: case2
- Organization: Plexus Corp. -- Neenah Wisconsin
- References: <140742@lll-winken.LLNL.GOV> <1992Nov6.225622.25460@dg-rtp.dg.com> <hansg.721510062@risken> <1992Nov12.212728.8864@dg-rtp.dg.com>
- Date: Fri, 13 Nov 1992 21:52:31 GMT
- Lines: 28
-
- goudreau@batman.rtp.dg.com (Bob Goudreau) writes:
-
- [...]
- >Anway, if I were posting in Swedish, then perhaps I'd put only one
- >space after each period. But in English, two following spaces *IS*
- >the standard (look it up). And (getting back to the point), I'll
- >bet that even in Swedish you don't insert gratuitous spaces between
- >parentheses and the clause which they surround.
-
- Two spaces after a sentence is a throwback to the typewriter days when
- everything was "monospaced" (ie. the width of each character is the same).
- Two spaces looks better with such fonts (note how these net messages are
- monospaced - at least on my machine). Now if you type something in a
- word processor and use "proportional" fonts (ie. the width of each
- character depends on the character) you should never, repeat NEVER, use
- two spaces after the period in a sentence. Any publisher (printer, etc.)
- will tell you this, and by the way my style manual (Webster's Standard
- American Style Manual) says: "In typewritten material, two spaces follow
- a period that ends a sentence. ... In typeset material, only one space
- follows this period."
-
- Cheers,
- Craig
- --
- * * "I just found out that the brain is like a *
- * Craig A. Heilman * computer. If that's true, then there really *
- * craigh@cserver.plexus.com * aren't any stupid people. Just people *
- * * running DOS." - VH1's Stand Up Spotlight *
-