27.08.2011, 23:30
Nothing is more efficient as far as I know. They both work and "else" is kinda useless here.
But, if you are that concerned about the correctness, use else if. I don't see how "if" and then "if" can fail though.
By the way: I don't see how you can be stuck with "if". o_O
But, if you are that concerned about the correctness, use else if. I don't see how "if" and then "if" can fail though.
By the way: I don't see how you can be stuck with "if". o_O