Comment by 8n4vidtmkvmk

1 year ago

I've been getting stricter about not letting that stuff into the codebase. They always say they'll clean it up later but they never do.

> They always say they'll clean it up later but they never do.

Are you sure there's anything needing cleaning up?

  • The duplicated code that needs updating in 50 places every time a bug or new feature comes in? Yes, I'm sure.

    • > The duplicated code that needs updating in 50 places every time a bug or new feature comes in? Yes, I'm sure.

      If you're talking about duplicate code showing up in 50 places then your problem is not code duplication but incompetent developers not being able to maintain a project.

      If instead you're talking about code with a passing resemblance showing up in 2 or 3 places then odds are you're actually looking at more maintainable code straight in the eye and you're not able to understand how that makes the project more maintainable.