all 21 comments

sorted by: hot top controversial new old
[–] 94 points 2 years ago (3 children)

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.

  • source
  • hideshow 6 child comments
  • [–] -1 points 2 years ago (3 children)

    So catching errors and doing nothing? That exists in every language except maybe BASIC?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 51 points 2 years ago
    [–] 33 points 2 years ago

    Like putting electrical tape over your check engine light.

  • source
  • [–] 31 points 2 years ago (1 child)

    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

  • source
  • hideshow 2 child comments
  • [–] 26 points 2 years ago* (1 child)
  • [–] 18 points 2 years ago

    That's fucking hilarious

  • source
  • [–] 16 points 2 years ago

    except: pass

  • source
  • [–] 11 points 2 years 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!”

  • source
  • [–] 10 points 2 years ago*

    It works on their machine though!

  • source
  • Donald Trump does coding.

  • source
  • [–] 5 points 2 years ago

    Push it to prod & see the world burns around you

  • source
  • [–] 4 points 2 years ago

    @Irelephant "Fixed dem warnings boss."

  • source