When only the condition expression is defined in a for loop, and the initialization and increment expressions are missing, a while loop should be used instead to increase readability.
for
while
for (;condition;) { /*...*/ }
while (condition) { /*...*/ }