Don’t comment bad code—rewrite it.
–Brian W. Kernighan, The Elements of Programming Style

More info

This post is created by a bot. If you want to contribute to this community, please take a look at the sidebar

  • ShrimpsIsBugs
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Sure, but who explains to the stakeholders then that I spend days coding but without implementing one of the new features they requested

    • noli
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Hope you are good at explaining the benefits of rewriting bad code.

      Also, shrimps IS bugs! Someone should get a tattoo of that.

      • ShrimpsIsBugs
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        Hope you are good at explaining the benefits of rewriting bad code.

        That’s easy. If you rewrite the bad code now, that creates work and costs. If you leave it as is, it might go through for a few years and is somewhat likely to be someone else’s problem by then. /s

        Also, shrimps IS bugs! Someone should get a tattoo of that.

        Absolutely!