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
    ·
    2 years 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
      ·
      2 years 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
        2 years 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!

    • Lmaydev
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      “it was required for the new feature”