Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!cme!cam!ARTEMIS From: miller@GEM.cam.nist.gov (Bruce R. Miller) Newsgroups: comp.lang.c Subject: Re: difference between c++; and ++c; Message-ID: <2880223615@ARTEMIS.cam.nist.gov> Date: 9 Apr 91 22:06:55 GMT References: <1991Apr08.161444.10025@cs.ruu.nl> Sender: news@cam.nist.gov Followup-To: comp.lang.c Organization: NIST - Center for Computing and Applied Mathematics Lines: 15 In article <1991Apr08.161444.10025@cs.ruu.nl>, Ernst de Ridder writes: > I once read (I'm not sure where, but I believe it was in the C++ > programming language) that some C-programmers argue that ++c is neater > than c++. (In situations where the side-effect doesn't matter). So ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If the side-effect doesn't matter, I prefer to use this: (ie. whitespace). Most compilers do a good job of optimizing it. :>> But seriously, I think you meant to say, "where the VALUE doesn't matter" In which case, I can't think of any particular reason other than personal preference. and possible the precedence business that another poster mentioned...