• sunbeam60@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    Ah, come on this is valid investigation.

    If you get the same error every time, you know you can find it and debug it, somewhat with ease.

    If you don’t, you might have a thornier issue at hand.

  • ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    I started coding professionally using Visual Basic (3!). Everybody made fun of VB’s On Error Resume Next “solution” to error handling, which basically said if something goes wrong just move on to the next line of code. But apparently nobody knew about On Error Resume, which basically said if something goes wrong just execute the offending line again. This would of course manifest itself as a locked app and usually a rapidly-expanding memory footprint until the computer crashed. Basically the automated version of this meme.

    BTW just to defend VB a little bit, you didn’t actually have to use On Error Resume Next, you could do On Error Goto errorHandler and then put the errorHandler label at the bottom of your routine (after an Exit Sub) and do actual structured error handling. Not that anybody in the VB world ever actually did this.

  • schema@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    The absolute worst thing that can happen is if it suddenly starts working without doing anything

  • grue@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    When your Makefile is so fucked up that you have to run it multiple times to get everything to build and link properly.

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    Or the code you are working on is calling a system that is currently unreliable which you cannot be responsible for.

    Fuck test automation, it’s a fucking trap get out of it as soon as you can

    • jtrek@startrek.website
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      Fuck test automation, it’s a fucking trap get out of it as soon as you can

      lol.

      Meanwhile, the org I work at has no test automation, so things that should be trivial require hours of tedious, error-prone, manual testing. Also they break stuff and don’t find out until after it’s merged.

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        This post has appeared in multiple places. It’s useful , but it ruins the development career potential of people that stick with it, because any subsequent job application just sees “TESTER” and not “DEVELOPER” and bars you from changing specialization.

        • jtrek@startrek.website
          link
          fedilink
          arrow-up
          0
          ·
          2 days ago

          I’ve known several people who moved from QA and testing to developer roles, but usually as an internal transfer.

          Most recruiters and management don’t know shit about fuck when it comes to technical details, so it’s not surprising a lot of them think “Oh the guy who knows how software works and how to handle edge cases? No, we don’t want him”