home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / c / 16084 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.5 KB

  1. Path: sparky!uunet!portal!lll-winken!framsparc.ocf.llnl.gov!booloo
  2. From: booloo@framsparc.ocf.llnl.gov (Mark Boolootian)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: The Correct Way To Write C if-Statements
  5. Message-ID: <140797@lll-winken.LLNL.GOV>
  6. Date: 6 Nov 92 16:15:29 GMT
  7. References: <140742@lll-winken.LLNL.GOV> <1dcfouINNc0r@crcnis1.unl.edu>
  8. Sender: usenet@lll-winken.LLNL.GOV
  9. Distribution: usa
  10. Organization: Lawrence Livermore National Laboratory
  11. Lines: 23
  12. Nntp-Posting-Host: framsparc.ocf.llnl.gov
  13.  
  14. In article <1dcfouINNc0r@crcnis1.unl.edu> holliday@cse.unl.edu (david holliday) writes:
  15. >>        The Correct Way To Write C if-Statements
  16. >>                by
  17. >>                Jim Minton
  18. >
  19. >I did a global search for the three-character sequence ":-)". Since the
  20. >editor didn't report any, I can only presume that the author forgot to
  21. >place after this character sequence after each paragraph of this post.
  22.  
  23. Well, the piece was certainly meant to be funny.  However, the author of
  24. the work (Jim Minton) actually wrote this to establish a rule to be followed 
  25. when writing C if-statements.  Minton eventually wants to establish a set of 
  26. guidelines to be used locally for writing C code so that there is consistency 
  27. in the appearance of the code, and will likely be doing more writing in the
  28. near future.
  29.  
  30. Although there may be much disagreement about how to write if-statements,
  31. or whether you should even have a guideline for such things, I thought it
  32. likely there would be agreement that the post was funny, ergo I posted it.
  33.  
  34. mb
  35. -- 
  36. Mark Boolootian        booloo@llnl.gov        +1 510 423 1948
  37.