2 ms·
Interesting, that sheds some light on the situation! And indeed, I do always use the increment operator by itself. The amount of extra thought it takes to dis
by sevensor 9y ago
Interesting, that sheds some light on the situation!
And indeed, I do always use the increment operator by itself. The amount of extra thought it takes to distinguish
while(i--)
from
while(--i)
just isn't worth it, when instead I could write
for(;i>0;i--)
which is very clear about what the last value of i in the loop is.