this post was submitted on 01 Nov 2024
631 points (97.6% liked)
People Twitter
5518 readers
1329 users here now
People tweeting stuff. We allow tweets from anyone.
RULES:
- Mark NSFW content.
- No doxxing people.
- Must be a pic of the tweet or similar. No direct links to the tweet.
- No bullying or international politcs
- Be excellent to each other.
- Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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