[reSIProcate] Minor suggestion to use ++i instead of i++

Alan Hawrylyshen alan at jasomi.com
Thu Nov 4 18:37:43 CST 2004


On Nov 4, 2004, at 15.58, kaiduan xie wrote:

> Hi, all,
>
> After reviewing the source code, I found a lot of
> places using i++ in loop of iterators, just to suggest
> use ++i instead. Thanks,
>
> kaiduan
>

I would tend to agree -- if you are editing some code that's doing an 
post-increment on an iterator, it's work changing to to pre-increment 
if there is no call for the value before incrementing.



>
a l a n a t j a s o m i d o t c o m




More information about the resiprocate-devel mailing list