this post was submitted on 01 Nov 2024
625 points (97.6% liked)

People Twitter

5173 readers
1968 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a tweet or similar
  4. No bullying or international politcs
  5. Be excellent to each other.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 44 points 6 days ago (4 children)

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.

[–] [email protected] 27 points 6 days ago

In my experience silently failing just leaves you standing there waiting for your beer forever, or until someone reboots the universe.

[–] [email protected] 17 points 6 days ago (1 children)

“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!

[–] [email protected] 8 points 6 days ago

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.

[–] [email protected] 8 points 6 days ago (1 children)

Customer: Can i use the bathroom?

Bartender: Ehhhh our bathroom is not available at the moment.

Customer: What?

Bartender: Not. Available...

[–] [email protected] 6 points 6 days ago

def bathroom(customer): return False

[–] [email protected] 5 points 6 days ago

Exception:

Spits out entire codebase