Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Symmetry (theprogrammersparadox.blogspot.com)
19 points by r4um on May 7, 2024 | hide | past | favorite | 3 comments


The key word in this post is "discipline".

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


You're more of a sadist than a slave, I'd say ;)


> [...] 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: