in reply to Re^2: Conditional Elimination
in thread Conditional Elimination
No, I think using a sub makes it easier to read. Making those tests that will return early will not slow it down as much as putting them in random order. It's just something to keep in mind when writing the sub. But the most important thing is to put the condition in a sub so that it's easier to understand.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Conditional Elimination
by JavaFan (Canon) on Aug 31, 2011 at 00:44 UTC | |
by dsheroh (Monsignor) on Aug 31, 2011 at 09:03 UTC | |
by JavaFan (Canon) on Aug 31, 2011 at 12:13 UTC | |
by shawnhcorey (Friar) on Aug 31, 2011 at 14:24 UTC | |
by shawnhcorey (Friar) on Aug 31, 2011 at 14:21 UTC |