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