|
|
|
|
|
by JnRouvignac
4035 days ago
|
|
I am trying to understand your point but I fail. Why should there always be a else to an if-elseif? Secondly, in the original if-else, the if in the else clause does not have a else. Why is it not a problem for you? It seems contradictory... |
|
Because that's good style!
> in the original if-else, the if in the else clause does not have a else
An if can live without an else. BTW, there are many books and online resources about programing style.