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(); }
In reply to Re: if/else syntax
by Marshall
in thread if/else syntax
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |