• BillyClark@piefed.social
    link
    fedilink
    English
    arrow-up
    51
    ·
    2 months ago

    This does happen a lot, but have you ever had the opposite happen? Where you go into some of your older code, and not only is it nice to read, but you had anticipated that you’d have to make this change later, and so the design makes the change easy?

    That’s happened to me a few times and all I can say is that it takes days for my self-satisfaction to wane.

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

      This actually happened to me last month. I had to touch code from a previous team/project I was on.

      I got the call for a collaboration/consult. I forgot everything about it. Jumped in a meeting next day anyway. We pulled up the code. Everything was documented and I had a section with parameters for a “wish” feature that they actually wanted finally. I pointed it out and told them the needful to finish the feature.

      Thank you past me. I’ll have to buy you a drink.

      Then I had a nice 5pm Scotch.