I almost never see a for
loop like this:
for (int i = 0; 5 != i; ++i)
{}
Is there a technical reason to use >
or <
instead of !=
when incrementing by 1 in a for
loop? Or this is more of a convention?
I almost never see a for
loop like this:
for (int i = 0; 5 != i; ++i)
{}
Is there a technical reason to use >
or <
instead of !=
when incrementing by 1 in a for
loop? Or this is more of a convention?