in reply to Re^3: at continue, last
in thread at continue, last
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: at continue, last
by LanX (Saint) on Jun 06, 2014 at 18:35 UTC | |
by djerius (Beadle) on Jun 06, 2014 at 18:43 UTC |