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

People Twitter

5290 readers
1567 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
[–] troyunrau@lemmy.ca 45 points 3 weeks 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.

[–] thenextguy@lemmy.world 28 points 3 weeks ago

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

[–] i_stole_ur_taco@lemmy.ca 17 points 3 weeks 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!

[–] taladar@sh.itjust.works 8 points 3 weeks 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.

[–] Sparky@lemmy.blahaj.zone 8 points 3 weeks ago (1 children)

Customer: Can i use the bathroom?

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

Customer: What?

Bartender: Not. Available...

[–] troyunrau@lemmy.ca 6 points 3 weeks ago

def bathroom(customer): return False

[–] No1@aussie.zone 5 points 3 weeks ago

Exception:

Spits out entire codebase