Haven’t even staged it yet, so git reminds me tomorrow.

    • SeductiveTortoise@piefed.social
      link
      fedilink
      English
      arrow-up
      17
      ·
      9 days ago

      I don’t fight it. I have a small project that’s completely fucked up, and I refactor it a little every day as a treat. So relaxing 💖

      • balsoft@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        8 days ago

        Honestly, yes. I have days when I want to code something new and experiment, and days when I just want to drudge through existing code and carefully refactor/clean up so that it still works (or even works better in some cases).

        • squaresinger@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          The best thing is if you figure out that a whole loop is actually unnecessary and you can up efficiency by a whole order.

    • bleistift2@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      Well, in that particular case I have a function that’s going to be needed in multiple places defined in a single 160-character line inside another function.