Closed amannn closed 3 years ago
I think there are valid cases where the code is easier to read if you have a lonely if/else.
E.g.
if (conditionA) { ... } else { if (conditionB) { ... } else { ... } }
I think there are valid cases where the code is easier to read if you have a lonely if/else.
E.g.