home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19304 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!gm08
  2. From: gm08@fg30.rz.uni-karlsruhe.de (Steffani)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C code Layout
  5. Date: 6 Jan 1993 13:36:05 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 28
  8. Message-ID: <1ien85INN9p4@nz12.rz.uni-karlsruhe.de>
  9. References: <1992Dec17.081451@eklektix.com> <771@ulogic.UUCP> <13714@optilink.COM>
  10. Reply-To: gm08@rz.uni-karlsruhe.de
  11. NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
  12.  
  13. In article <13714@optilink.COM> brad@optilink.COM (Brad Yearwood) writes:
  14. >In article <771@ulogic.UUCP>, hartman@ulogic.UUCP (Richard M. Hartman) writes:
  15. ># 
  16. ># ... am I in the minority here by preferring style C:
  17. ># 
  18. >#     keyword (condition) 
  19. >#         {
  20. >#         statement1;
  21. >#         statement2;
  22. >#         statement3;
  23. >#         }
  24. I still prefer
  25.     keyword(condition)
  26.      {
  27.       statement1;
  28.       .
  29.       .
  30.       statementX;
  31.          }
  32. Why? I like brackets wich belong together in ONE column. 
  33. We use long (too long) names for functions and variables,
  34. so the statements become very long. For better readablity(?)
  35. i prefer lines not longer than 70 columns. So I do not like
  36. more than 2 columns indent.
  37. hans friedrich steffani
  38. .
  39.  
  40.  
  41.