[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: qt-copy/src/kernel
From:       Daniel Molkentin <daniel () molkentin ! de>
Date:       2003-06-05 17:33:36
[Download RAW message or body]

On Thursday 05 June 2003 15:38, Michael Brade wrote:
>On Thursday 05 June 2003 02:43, Daniel Molkentin wrote:
>> -        chr++;
>> +        ++chr;
>
>Why are people still doing those changes? If it is because of taste---ok.
> But if it is because of efficiency, forget it. gcc generates exactly the
> same code for both.

Sure. It's a matter of the preferred semantics (and therefore 'taste',  yes). 
It should be consistant throughout your code where possible. But mind you, 
there is a difference between 

while(x++ < y) {...}

and 

while(++x < y) {...}

So it's not always the same (and gcc would do a bad job ignoring this ;)

Cheers,
  Daniel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic