• kbal@fedia.io
    link
    fedilink
    arrow-up
    53
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Super-advanced java devs like me do it like try{} catch (Exception e) { System.out.println("something went wrong"); e.printStackTrace(); }

        • tool@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          8 months ago

          On Error Resume Next never before have more terrible words been spoken.

          Every time I’m reading a PowerShell script at work and see -ErrorAction SilentlyContinue I want to scream into a pillow and forcefully revert their commit.

          I’ve actually done it a few times, but I want to do it every time.