The Picard Maneuver@lemmy.world to People Twitter@sh.itjust.works · 20 days agoA QA engineer walks into a bar...lemmy.worldexternal-linkmessage-square22fedilinkarrow-up1634arrow-down116
arrow-up1618arrow-down1external-linkA QA engineer walks into a bar...lemmy.worldThe Picard Maneuver@lemmy.world to People Twitter@sh.itjust.works · 20 days agomessage-square22fedilink
minus-squareTroy@lemmy.calinkfedilinkarrow-up45·20 days 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-squarethenextguy@lemmy.worldlinkfedilinkarrow-up27·20 days agoIn my experience silently failing just leaves you standing there waiting for your beer forever, or until someone reboots the universe.
minus-squarei_stole_ur_taco@lemmy.calinkfedilinkarrow-up16·20 days 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-squaretaladar@sh.itjust.workslinkfedilinkarrow-up7·20 days 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-squareobject [Object]@lemmy.blahaj.zonelinkfedilinkarrow-up8·20 days 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.
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
Exception:
Spits out entire codebase