• @orl0pl
    link
    3927 days ago

    Works on my machine.

    • @PunchingWood
      link
      1927 days ago

      I frequently had to test other developer’s code, the fucking amount of times I heard that shit.

      “Your code ain’t working”

      “It’s working for me”

      “Well it isn’t working for me, did you actually test it”

      “Yes”

      “On anything else than your own PC?”

      “It was working fine for me”

      “It fucking isn’t, look!”

      “…huh”

      For fuck sake just take like 1 minute to press on a frikking button to see if it actually does work.

      Glad I’m not doing that shit anymore.

      • @[email protected]
        link
        fedilink
        8
        edit-2
        27 days ago

        Im my defense, I did test it. It was working for me.

        But then someone else touched it without understanding it or flipped the truth value returned by one of the functions used by my code without properly fixing the call sites.

        Edit: or they had a merge conflict and they don’t know how to correctly resolve those.

    • shrugs
      link
      727 days ago

      That’s why they invented docker

  • @candybrie
    link
    927 days ago

    If it hasn’t been tested, it’s broken.

    • 𝚜𝚑𝚊𝚍𝚎𝚊𝚛𝚐
      link
      English
      627 days ago

      Meh. Pedant time.

      The first step of every testcase is supposed to fail to ensure a testing framework can fail in the scope of the testcase. In practice nobody acknowledges this, much less incorporates it.

      Without, one is forced to concede that the test environment is not sane—and, therefore, no case under test is certifiable—because it cannot be known, for certain, if failure was a possibility.

      Nobody cares.

  • DreamButt
    link
    English
    327 days ago

    Reminds me of a joke. The purest functional code is the one that never runs

  • GHiLA
    link
    fedilink
    123 days ago

    …haven’t updated my Arch systems in a while.