- a big feature change on a code that uses only goto as structure flow that was coded by a disciplined experimented coder who had maintainability in mind and hearth
- a small bug fix in code base using every C++ feature under the sun by a wanna show beginner
> [...] so it could really be 4 things. We may be missing one.
As the code is equivalent to
if BLA {
...
} else if BAZ {
...
} else {
...
}
I do not see a reason why there should be a branch missing. Of course, there is no reason to believe that there isn't something missing either, but arguing with symmetry does not help.
What would you take:
- a big feature change on a code that uses only goto as structure flow that was coded by a disciplined experimented coder who had maintainability in mind and hearth
- a small bug fix in code base using every C++ feature under the sun by a wanna show beginner