• NocturnalMorning@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    Sure, refactoring is sometimes necessary. But refactoring also introduces new bugs often. Our code base is constantly being refactoring, and it’s not more reliable, stuff is constantly breaking.

      • NocturnalMorning@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        5
        ·
        2 months ago

        Why are programmers so arrogant? They do have unit tests, and a dedicated test team. Refactoring can and does introduce bugs. It’s a fact.

        • MyNameIsRichard@lemmy.ml
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          2 months ago

          Frankly, if your test suite isn’t catching 95% or more of the bugs, there’s a problem with the test suite and if uat aren’t catching 95% or more of the remainder, there’s a problem with uat

        • luciferofastora
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          How solid is the unit test coverage? What about regression tests? If you get new bugs creeping in all the time, your bug-catchers aren’t doing their job

            • luciferofastora
              link
              fedilink
              arrow-up
              2
              ·
              2 months ago

              I did a sting writing tests for a team that previously had none. Fun times, the things that were uncovered that day…