• AdamBomb@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    2
    ·
    1 month ago

    Yes, this. Refactor first to make the upcoming change easier and cleaner, not after. Don’t ask for permission, don’t even call it refactoring or cleanup. Just call it working on the feature, because that’s what it is. Don’t let non-engineers tell you how to engineer.

    • catalyst@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      1 month ago

      Yes, this! I rarely ask for permission on that sort of thing. I’ll just do it as part of my work and see if anyone calls me out on it.

      • TrickDacy@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        I do this too, but I realize I’m privileged to be able to. In past jobs people actually would get pissed at me for doing it. I had a manager have a really shitty talk with me about it once. I’d guess a lot of people have bad experiences like that

        • 0x0
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          The joy begins when you know you should refactor the whole project from the ground up…