Re: [reSIProcate] Minor suggestion to use ++i instead of i++
- From: Alan Hawrylyshen <alan@xxxxxxxxxx>
- Date: Thu, 4 Nov 2004 17:37:43 -0700
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