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

  1. Path: sparky!uunet!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!troi!steve
  2. From: steve@dbaccess.com (Steve Suttles)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: readable code
  5. Message-ID: <132@mccoy.dbaccess.com>
  6. Date: 8 Jan 93 04:19:32 GMT
  7. References: <1993Jan6.170041.29055@daimi.aau.dk>
  8. Organization: Cross Access Corp., Santa Clara, CA
  9. Lines: 23
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. rorschak@daimi.aau.dk (Jesper Lauridsen) writes:
  13. : murphy@npri6.npri.com (David P. Murphy) writes:
  14. : >>So the question of whether "x = x + 1" or "x += 1" is more "readable" is
  15. : >>really a moot point.
  16. : >>
  17. : >>timk@world.std.com (Tim King)
  18. : >    "++x" is more readable.  [down!  down!  bad lurker! (whack) (whack)]
  19. : I prefer "x++" myself.
  20.  
  21. There are cases where "x -= -1" actually makes more sense...
  22.  
  23. ...but there are those who would say that the best form is
  24. "strBuffDesc.sLen -= TOKENSIZE".  Then again...
  25.  
  26. sas   (not to be consumed without adequate supply of chlorides)
  27. -- 
  28. Steve Suttles                Internet:  steve@dbaccess.com      Dr. DCL is IN!
  29. CROSS ACCESS Corporation     UUCP: {uunet,sgiblab}!troi!steve  Yo speako TECO!
  30. 2900 Gordon Ave, Suite 100   fax: (408) 735-0328              Talk data to me!
  31. Santa Clara, CA 95051-0718   vox: (408) 735-7545   HA! It's under 4 lines NOW!
  32.