this post was submitted on 12 Aug 2024
1019 points (99.5% liked)

Programmer Humor

19488 readers
1085 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 225 points 2 months ago* (last edited 2 months ago) (7 children)

At my job, we have an error code that is similar to this. On the frontend, it's just like error 123.

But in our internal error logs, it's because the user submitted their credit card, didnt fully confirm, press back, removed all the items out of their cart, removed their credit card, then found their way back to the submit button through the browser history and attempted to submit without a card or a cart. Nothing would submit and no error was shown, but it was UI error.

It's super convoluted. And we absolutely wanted to shoot the tester who gave us this use case.

[–] [email protected] 141 points 2 months ago* (last edited 2 months ago) (1 children)

Better the tester than a user.

[–] [email protected] 47 points 2 months ago (6 children)
[–] [email protected] 65 points 2 months ago

As of now, I consider you an enemy

[–] [email protected] 37 points 2 months ago

Are you from microsoft?

[–] [email protected] 25 points 2 months ago

Being prepared for the eventuality, knowing the consequences and deciding what to do about it before it happens for a user.

[–] [email protected] 17 points 2 months ago (1 children)

Different mindset. A user doesn't want to find bugs but get shit done.

[–] [email protected] 9 points 2 months ago

I'd argue that is maybe 95% of the time. People get bored.

[–] [email protected] 9 points 2 months ago

Brand reputation?

[–] [email protected] 0 points 2 months ago (1 children)

Users are dumb, testers are assholes.

[–] [email protected] -2 points 2 months ago

Sometimes testers are also dumb. Most times.

[–] [email protected] 82 points 2 months ago* (last edited 2 months ago) (2 children)

And we absolutely wanted to shoot the tester who gave us this use case.

Why? Because he tested well and broke the software? A user changing their mind during a guided activity absolutely is a valid use case.

[–] [email protected] 55 points 2 months ago (2 children)

I think they meant shoot in like a friendly way. You know, happiness bullets!

[–] [email protected] 58 points 2 months ago (1 children)

Oh, THAT's what "friendly fire" means!

[–] [email protected] 24 points 2 months ago

hey that tickles!

[–] [email protected] 13 points 2 months ago

Like how I always say to my friends, "Look at me again and I will fucking murder you and rape your family dog".. it's just in good fun.

[–] [email protected] 8 points 2 months ago

It's likely a difference of emotion compared to logic. Emotionally they'd think "Damn it, now we need to check for such a weird specific edge-case, this is so annoying" while logically knowing it's better the tester caught it.

[–] [email protected] 64 points 2 months ago

Give that tester a raise bro

[–] [email protected] 42 points 2 months ago (1 children)

This makes want to become a tester. It scratches my evil itch just the way I like it.

[–] [email protected] 42 points 2 months ago (1 children)

there's three qualifications to being a testor:

Finding stupid ways to break shit, Being able to accurately explain how you broke shit, and being likeable enough that breaking their shit doesn't make the devs angry.

[–] [email protected] 16 points 2 months ago (1 children)

Being able to accurately explain how you broke shit

This is the most important part. Or look at systems like SpiffingBrit and Josh (Let's Game it Out) look at games

[–] [email protected] 4 points 2 months ago (1 children)

Josh does mostly stress testing though

[–] [email protected] 4 points 2 months ago

That too, but also lots of glitching through walls and, most importantly, "doing everything as wrong as possible"

[–] [email protected] 29 points 2 months ago

Don’t shoot the tester shoot whoever wrote the code (or the framework / library) that got you into this situation in the first place.

[–] [email protected] 26 points 2 months ago* (last edited 2 months ago)

If that broke the software it sounds like you have a very good tester.

[–] [email protected] 19 points 2 months ago

What about the test case where I’m using the browser’s dev tools to re-send http requests in random orders?