Sometimes else improves readability... looks like a balance scale, with an if and an else on either side.
I would prefer to remove the else in this code because this feels like the most important part of this function.
[
add
]
[
|
|
...
]
Sometimes else improves readability... looks like a balance scale, with an if and an else on either side.
I would prefer to remove the else in this code because this feels like the most important part of this function.