• @Bosht
    link
    English
    116 hours ago

    That’s fucking hilarious

  • @[email protected]
    link
    fedilink
    599 hours ago

    Still not as excellent as On Error Resume Next

    Imagine the sheer idiocy genius required to add a language feature where, if an error occurred, the handling method is to just pretend that line of code never existed and continue onto the next line.

    VBA is truly the language of savants.

    • @[email protected]
      link
      fedilink
      English
      147 hours ago

      PowerShell does that by default, and it’s my least favorite feature in my most used language.

      $ErrorActionPreference = Stop

      At the start of almost every script.

  • konalt
    link
    188 hours ago

    I wrap every line of code in a try catch block, even my try catch blocks are in try catch blocks just in case the first accidentally drops it after catching it

  • @devilish666
    link
    36 hours ago

    Push it to prod & see the world burns around you

  • @[email protected]
    link
    fedilink
    English
    58 hours ago

    I came across a stack overflow recently about how to do something in a jasmine unit test. Someone gave a solution of “I just changed the test to xit(“… and now there are no errors!”