home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19004 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  2.5 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!mama!netcomsv!ulogic!hartman
  2. From: hartman@ulogic.UUCP (Richard M. Hartman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C code Layout
  5. Message-ID: <785@ulogic.UUCP>
  6. Date: 29 Dec 92 23:06:42 GMT
  7. References: <771@ulogic.UUCP: <1992Dec23.153137.13423@fcom.cc.utah.edu> <1992Dec23.165659.3298@mfltd.co.uk>
  8. Organization: negligable
  9. Lines: 74
  10.  
  11. In article <1992Dec23.165659.3298@mfltd.co.uk: nmp@mfltd.co.uk writes:
  12. :
  13. :In article <1992Dec23.153137.13423@fcom.cc.utah.edu>, swillden@news.ccutah.edu (Shawn Willden) writes:
  14. :> hartman@ulogic.UUCP (Richard M. Hartman) writes:
  15. :> 
  16. :> [ Styles A and B deleted (you already know what they are) ]
  17. :> 
  18. :> : ... am I in the minority here by preferring style C:
  19. :> : 
  20. :> :     keyword (condition) 
  21. :> :         {
  22. :> :         statement1;
  23. :> :         statement2;
  24. :> :         statement3;
  25. :> :         }
  26. :> 
  27. :> This thread is entirely too polite.  Don't you people know that when
  28. :> coding styles are discussed massive *FLAMAGE* and LOTS OF SHOUTING IS
  29. :> REQUIRED TO DO THE SUBJECT JUSTICE???????
  30. :> 
  31. :> In keeping with internet custom I would suggest to Mr. Hartman that he
  32. :> GET A LIFE AND A REAL EDITOR LIKE EMACS AND STOP SCREWING AROUND WITH
  33. :> VI FOR HELLS SAKE MAN DONT YOU KNOW THIS IS THE 90S???!?!?!?  YOUR
  34. :> PROBABLY ONE OF THOSE PINKOCOMMIE WHITESPACELOVING FREAKS TO!!!!
  35.  
  36. Sorry, this thread is on coding style.  Editors is another
  37. religious argument entirely.        :-)
  38.  
  39. Actually I prefer Brief -- but they don't have it on my 
  40. UNIX system.  Vi is an OLD friend, and I can make it sing
  41. and dance.  Emacs has too many Alt-Meta-Cokebottle wierdnesses
  42. for me.
  43.  
  44. Have you tried VAX EDT in "nokeypad" mode?  Now there's
  45. an editor!    ;-)
  46.  
  47. (I hated the thing in "keypad" mode myself....)
  48.  
  49. :> Shawn Willden
  50. :> swillden@icarus.weber.edu
  51. :> 
  52. :> P.S. I prefer style C myself
  53.  
  54. :-D
  55.  
  56. :Get a life? Get a real editor like EMACS? At the risk of getting off the
  57. :subject, EMACS is poo, full of disgusting cryptic control sequences
  58. :(what was it CNTRL-X CNTRL-S to save?) and vi is quite wonderful and sexy
  59. :and fun and great and etc etc.
  60. :
  61. :And as for white space I think thats nice too.
  62.  
  63. I would say necessary!
  64.  
  65. :
  66. :Oh yes. C layout.
  67. :I like..
  68. :
  69. :    keyword( fruitbat )
  70. :    {
  71. :        ocelot(PINKOCOMMIE);
  72. :        etc etc..
  73. :    }
  74.  
  75. Oh well....
  76.  
  77.  
  78.  
  79.  
  80. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  81. Work away today, think about tomorrow.        |
  82. Never comes the day, for my love and me.    |    -Richard Hartman    
  83. I feel her gently sighing            |    hartman@uLogic.COM
  84. as the evening slips away....            |
  85.