Possible Duplicates:
Test loops at the top or bottom? (while vs. do while)
While vs. Do While
In discussions here it seems most people prefer while
loops over do/while
loops.
To me it seems do/while
is a fundamental part of the language, and one that everyone should understand as easily as while
. It may be less common, but avoiding it for this reason seems a bit like trying to talk in one syllable words.
Does avoiding do/while
really help make my code more readable?