|
|
|
|
|
by fyi1183
2949 days ago
|
|
The if you're talking about ends in a break. To me and many others, having an else associated to an if that ends in break/continue/return is a code smell, because it misleadingly suggests that there are two possible paths of control flow that reach the code after the if/else, when in reality you can only reach that point through the else block. |
|