• @[email protected]
      link
      fedilink
      English
      206 months ago

      Nothing is temporary. Every script, patch, application, and duct tape MacGyver/Scotty inspired fix I’ve ever written will run for eternity….

      • @[email protected]
        link
        fedilink
        20
        edit-2
        6 months ago

        The first “temporary hack” I ever wrote for my current job (~January 2014) is still in the codebase.

    • AwkwardLookMonkeyPuppet
      link
      fedilink
      English
      76 months ago

      One time I stayed up late trying to fix a really complicated problem that I couldn’t figure out. I was drinking. I got really drunk and fixed the problem. In the morning I couldn’t figure out my own code. I had no idea what I wrote, or how it worked, but it did work. I just left it since it was apparently above my ability to fix.

  • @[email protected]
    link
    fedilink
    English
    396 months ago

    if you didn’t intend for it to work and it’s working then it’s not working as intended

  • @[email protected]
    link
    fedilink
    896 months ago

    My favourite is always;

    Lemme quickly write this test, it passes great, if I make this little change it’ll fail. It’s still passing, damn.

    • @[email protected]
      link
      fedilink
      576 months ago

      The worst is when you expect an existing test to fail, but it passes, and it turns out the test wasn’t actually properly testing the code. Fixing the test finds a bunch of broken edge cases.

      • @[email protected]
        link
        fedilink
        426 months ago

        Then you ask questions about what the past person could possibly have been thinking. You wonder what logic path brought them to create the code this way. You check git blame. It was you.

        • @[email protected]
          link
          fedilink
          English
          216 months ago

          Debugging. It’s a whodunnit where the victim, murderer, and investigator are all you.^(apologies to Filipe Fortes)

  • @[email protected]
    link
    fedilink
    56 months ago

    “You know that temp shitty load balancer you wrote on your second month to get things up again. We still use it to this day.” My boss last week.

  • @[email protected]
    link
    fedilink
    606 months ago

    It’s always scary when it compiles without errors the first time. Then you just know there’s a logic bug or corner case in there somewhere.

    • @[email protected]
      link
      fedilink
      36 months ago

      It’s always a logic bug that you will find the day after you forgot about how the code works.