• @Solemarc
    link
    882 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
      562 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.

      • @TunaLobster
        link
        422 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
          212 months ago

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