The Picard Maneuver to People [email protected] • 15 hours agoA QA engineer walks into a bar...imagemessage-square22arrow-up1556arrow-down111
arrow-up1545arrow-down1imageA QA engineer walks into a bar...The Picard Maneuver to People [email protected] • 15 hours agomessage-square22
minus-squareTroylinkfedilink39•14 hours agoDamn. Need to wrap that whole bar in a try: except: that just silently fails. Solves all the issues and you go to another bar.
minus-square@thenextguylink25•14 hours agoIn my experience silently failing just leaves you standing there waiting for your beer forever, or until someone reboots the universe.
minus-square@[email protected]linkfedilink15•13 hours ago“But if it silently fails then we won’t know there’s a problem until a customer reports it and we go looking for it!” Yes, and that could be weeks before it becomes my problem again!
minus-square@[email protected]linkfedilink6•10 hours agoAnd weeks later, after that change has been rolled out to all the bars, the engineer now has to travel to every single one of them to fix it.
minus-square@[email protected]linkfedilink8•13 hours agoCustomer: Can i use the bathroom? Bartender: Ehhhh our bathroom is not available at the moment. Customer: What? Bartender: Not. Available…
Damn. Need to wrap that whole bar in a try: except: that just silently fails. Solves all the issues and you go to another bar.
Exception:
Spits out entire codebase
In my experience silently failing just leaves you standing there waiting for your beer forever, or until someone reboots the universe.
“But if it silently fails then we won’t know there’s a problem until a customer reports it and we go looking for it!”
Yes, and that could be weeks before it becomes my problem again!
And weeks later, after that change has been rolled out to all the bars, the engineer now has to travel to every single one of them to fix it.
Customer: Can i use the bathroom?
Bartender: Ehhhh our bathroom is not available at the moment.
Customer: What?
Bartender: Not. Available…
def bathroom(customer): return False