[H-GEN] Which is better?
Greg Black
gjb at gbch.net
Tue Apr 27 18:37:55 EDT 2004
On 2004-04-28, Trent Waddington wrote:
> David Starkoff wrote:
>
> >Shouldn't it be "--i" rather than "i--" so the previous value doesn't
> >need to be (superfluously) kept around?
> >
> > 3.7: If I'm not using the value of the expression, should I use i++
> > or ++i to increment a variable?
> >
> > ++i. Only losers and idiots use i++. [...]
> >
> >(I heart <http://www.plethora.net/~seebs/faqs/c-iaq.html>.)
>
> Don't believe everything you read (actually thinking about something
> before repeating it is also a good rule of thumb).
Did you actually look at that URL?
Cheers, Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 249 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20040428/2f4e57eb/attachment.sig>
More information about the General
mailing list