in reply to if/else syntax
This is not what you have here!
And
I would argue that your code C code is bad because it is not clear.
better:
You are making a HUGE mistake if you think that number of source code lines equals efficiency - I would recommend some advanced C classes or ASM classes. The compiler whether it be "Perl" or "C" can deal with the above construct VERY efficiently.if ( $someVar == $anotherVar ) { someFunc(); } else { anotherFunc(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: if/else syntax
by massa (Hermit) on Jun 29, 2009 at 13:53 UTC | |
by Marshall (Canon) on Jun 29, 2009 at 14:26 UTC |