Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!paperboy!hsdndev!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: difference between c++; and ++c; Keywords: pre post increment decrement grammar style Message-ID: <15767@smoke.brl.mil> Date: 8 Apr 91 21:29:15 GMT References: <1991Apr08.161444.10025@cs.ruu.nl> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 10 In article <1991Apr08.161444.10025@cs.ruu.nl> hnridder@cs.ruu.nl (Ernst de Ridder) writes: >Why should one of these forms be preferred over the other in such a situation, >apart from personal preferences? Some of us find it clearer to treat ++ and -- unary operators the same way as other unary operators, namely apply them from the left: !x not x! ++x not x++ This is a matter of style, but that does not mean that it is arbitrary. (Although in this case I would say that it doesn't matter a whole lot.)