- cross-posted to:
- programmer_humor@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
You must log in or register to comment.
Ship it.
except: pass
It works on their machine though!
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!”Still not as excellent as
On Error Resume Next
Imagine the sheer
idiocygenius 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.
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.