I meant to write that if I decremented it as the first statement in the if clause, I'd have to increment later on.
The point of the examples wasn't the decrement, but to examine the ways of finding a single path to cleanup code from a conditional. In particular, I'm trying to avoid the nested if/else/unless clauses.
In reply to Re^4: at continue, last
by djerius
in thread at continue, last
by djerius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |