Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!sdd.hp.com!mips!cs.uoregon.edu!ogicse!intelhf!ichips!iwarp.intel.com!inews!pima!bhoughto From: bhoughto@pima.intel.com (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: difference between c++; and ++c; Keywords: pre post increment decrement grammar style Message-ID: <3937@inews.intel.com> Date: 21 Apr 91 20:19:37 GMT References: <389@civet.ukc.ac.uk> <3730@inews.intel.com> <1991Apr18.230559.28858@arcturus.uucp> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 10 In article <1991Apr18.230559.28858@arcturus.uucp> berry@arcturus.uucp (Berry;Craig D.) writes: >My conclusion: "++c" and "c += 1" are semantically >equivalent, and "++c" is shorter. My vote goes for the >latter. There's about six years' worth of Obfuscated C Code Contest winners that tend to indicate that shorter is not a reason for better. --Blair "Necessary nor sufficient."