Forgot your password?
typodupeerror
Programming

Journal Journal: ++i vs i++ 28

I've seen people argue that you should make your loops like this:

for(i=0; i<10; ++i)

rather than

for(i=0; i<10; i++)

The "rationale" is that the compiler doesn't need to make a temporary with the pre-incremental form.

Slashdot Top Deals

You are in a maze of little twisting passages, all alike.

Working...