I prefer:
while ( ... ) { next if some-condition; some-code }
which not only saves a couple of (trivial I admit) lines of code, it reduces clutter and avoids an extra level of nesting for some-code.
In reply to Re^4: handling erronous input
by GrandFather
in thread handling erronous input
by Conal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |