this post was submitted on 01 Apr 2025
1205 points (99.1% liked)

Programmer Humor

22188 readers
1877 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] mspencer712@programming.dev 188 points 2 days ago (6 children)

Love this, 100% accurate. QA people are amazing, protect us from ourselves in so many ways we didn’t even think of.

[–] nogooduser@lemmy.world 75 points 2 days ago (5 children)

I wish our test team was like that. Ours would respond with something like “How would I test this?”

[–] Kualdir@feddit.nl 29 points 2 days ago (3 children)

Tester here, I only have to do this if the ticket is unclear / its not clear where impact can be felt by the change. I once had a project with 4 great analysts and basically never had to ask this question there.

[–] Th3D3k0y@lemmy.world 9 points 2 days ago (3 children)

We added an API endpoint so users with permission sets that allow them to access this can see the response.

Ok... What is the end point, what's the permission, is it bundled into a set by default or do I need to make one, what's the expected response, do we give an error if the permission is false or just a 500?

They always make it so vague

load more comments (3 replies)
load more comments (2 replies)
load more comments (4 replies)
[–] hakunawazo@lemmy.world 64 points 2 days ago (1 children)

But they still don't think of all common user possibilities. I like this joke:

A software tester walks into a bar.

Runs into a bar.

Crawls into a bar.

Dances into a bar.

Flies into a bar.

Jumps into a bar.

And orders:

a beer.

2 beers.

0 beers.

99999999 beers.

a lizard in a beer glass.

-1 beer.

"qwertyuiop" beers.

Testing complete.

A real customer walks into the bar and asks where the bathroom is.

The bar goes up in flames.

[–] thisissam@lemmy.world 13 points 2 days ago (1 children)

Bathroom testing was not in scope.

This one's on management.

load more comments (1 replies)
[–] Semi_Hemi_Demigod@lemmy.world 30 points 2 days ago (1 children)

Most of the best QA folks I’ve worked with had teenage children.

I imagine dealing with developers is similar.

[–] jol@discuss.tchncs.de 18 points 2 days ago (1 children)

I love working with competent QA engineers. It's always a humbling experience.

load more comments (1 replies)
[–] RagingHungryPanda@lemm.ee 18 points 2 days ago (1 children)

Hey! My company just fired ours today!

[–] bleistift2@sopuli.xyz 24 points 2 days ago

After all, most delays can directly be traced to the QA department. Wise business decision!

[–] Shanmugha@lemmy.world 15 points 2 days ago (1 children)

Yes, I second this. QA has caught so many things that did not cross my mind, effectively saving everyone from many painful releases

[–] Kualdir@feddit.nl 10 points 2 days ago

I've worked with some insanely talented devs who were amazed at some of the shit I was able to pull and we could have a laugh about it

load more comments (1 replies)
[–] ArbitraryValue@sh.itjust.works 78 points 2 days ago (2 children)

The programmer's answer?

We don't support that use case.

[–] Vent@lemm.ee 68 points 2 days ago (2 children)

"Works for me and my sister."

[–] Speiser0@feddit.org 28 points 2 days ago (1 children)

Then we'll ship you and your sister.

[–] Confused_Emus@lemmy.dbzer0.com 17 points 2 days ago (1 children)

And that’s how docker was born!

load more comments (1 replies)
load more comments (1 replies)
[–] Kualdir@feddit.nl 14 points 2 days ago* (last edited 2 days ago) (1 children)

Still logs the issue

Dev sets status to won't do

Wait 2 months

P1 production issue: Exactly what I logged 2 months ago just written out worse

[–] _stranger_@lemmy.world 6 points 2 days ago* (last edited 2 days ago) (3 children)

I was once on a team that would filter out staging-only bugs in bug triage meetings. The team would only ever fix a bug if it was found in production. It was exactly as foot-gun as it sounds.

load more comments (3 replies)
[–] bandwidthcrisis@lemmy.world 45 points 2 days ago (1 children)

Physicist: "assuming a spherical year ..."

[–] alt_xa_23@lemmy.world 18 points 2 days ago (5 children)
load more comments (5 replies)
[–] bisby@lemmy.world 42 points 2 days ago (2 children)

Based on the only comparison we have, the OP is twice the age of their sister. so the sister is now 44/2, or 22. Easy problem.

[–] Redjard@lemmy.dbzer0.com 16 points 2 days ago

Based on the only information we have, OPs sister is two. So the sister is 2. Trivial.

load more comments (1 replies)
[–] dragonlobster@programming.dev 39 points 2 days ago

I'm working on a gameboy emulator and the amount of edge cases you have to consider feels just like this lol.

[–] Sergio@slrpnk.net 33 points 2 days ago (3 children)

Fails to consider the case in which the 2-year-old sister is now male.

load more comments (3 replies)
[–] Agent641@lemmy.world 32 points 2 days ago (1 children)

I design software, another guy builds it, then I test it. I seem to have a really good intuition for ferreting out the edgiest of edge cases and generating bugs. Pretty sure he hates my guts.

load more comments (1 replies)
[–] Vraylle@fedia.io 32 points 2 days ago (3 children)

Am I an oddball in that as a developer, that QA answer is the sort of answer I give? It annoys management to no end.

[–] Kualdir@feddit.nl 24 points 2 days ago

A developer with a QA mindset is never a bad thing in my opinion. It makes sure issues are fixed earlier and saves time (and for management, money)

[–] sasquash@sopuli.xyz 17 points 2 days ago

Nope, a good developer asks exactly the first thing with the birthdays. If you don't have proper data it's impossible to give the correct answer. This is the difference from an experienced developer to a junior.

[–] meliaesc@lemmy.world 6 points 2 days ago

How are edge cases supposed to be covered if the developer can't imagine them? It would save SO MUCH time if everyone were as detail oriented and creative as you.

[–] grooving@lemmy.studio 28 points 2 days ago (1 children)

Didn't even consider leap years. Smh

[–] T156@lemmy.world 9 points 2 days ago

That's the customer answer, where they give an age in leap years, and everything goes to pot.

Real talk: I wish more orgs place a high value on QA. A good QA team is worth it's weight in gold and helps prevent a lot of stupid mistakes.

[–] some_guy@lemmy.sdf.org 20 points 1 day ago

I used to have a QA job. Can confirm, this is the soup in my head. That's why I was good at testing. Also, that's not your sister. That's your trans brother, who we also love. See?

[–] easily3667@lemmus.org 20 points 2 days ago* (last edited 2 days ago) (5 children)

So by this definition testers are annoying due to being super pedantic and precise.

Disagree, I think programmers are annoying in exactly the same way.

[–] SlamWich@lemmy.world 10 points 2 days ago (1 children)

I'm a Dev with no QA so i just have to be neurotically pedantic so nobody goes to jail

load more comments (1 replies)
[–] webpack@ani.social 7 points 2 days ago (2 children)

I think it's more about how testers always run into all the edge cases programmers don't think about

load more comments (2 replies)
load more comments (3 replies)
[–] KittyCat@lemmy.world 18 points 1 day ago (3 children)

Also misses the edge case where sister was born on a leap day

load more comments (3 replies)
[–] bampop@lemmy.world 17 points 2 days ago

If you were 4 and now you are 44 then you might be an integer variable. If sister is also a variable, we don't know when she was allocated. She might also be an integer constant in which case she's arguably immortal.

[Test]
public void Sister_IsAstronaut() 
{
[–] stebo02@lemmy.dbzer0.com 14 points 2 days ago

clearly the answer is 22

[–] codexarcanum@lemmy.dbzer0.com 11 points 2 days ago (1 children)
import birthday;

let myAge1 = 4;
let sisterAge1 = 2;
let myAge2 = 44;

let sisterAge2 = birthday.deriveAge(myAge1, sisterAge1, myAge2);

print(sisterAge2);

Any bugs should be reported upstream. Please open a tracking issue to sync changes with eventual upstream fixes.

load more comments (1 replies)
[–] LovableSidekick@lemmy.world 11 points 2 days ago* (last edited 2 days ago)

I'm a programmer and my answer would be more like the tester's answer.

But okay I also used to be a tester so this comment is probably invalid.

[–] iAvicenna@lemmy.world 11 points 2 days ago

well she is half my age and that is a well known time invariant so she is 22

[–] outerspace@lemmy.zip 10 points 2 days ago

Really have to start with a definition of "now"

[–] homesweethomeMrL@lemmy.world 8 points 2 days ago

This may be why I hated math.

[–] fibojoly@sh.itjust.works 8 points 2 days ago

That's a good tester.
In my experience coders usually make absolutely terrible testers, testing only for the most inane case, or just positive cases (ie, it does the nominal case without bursting into fire).

[–] rbn@sopuli.xyz 8 points 2 days ago* (last edited 2 days ago)

Also, we first have to define more precisely what 'being 2' means. E.g., if we just count birthdays and one of them is born on Feb 29th in a leap year, that person 'ages' with 1/4 of the speed.

[–] _stranger_@lemmy.world 8 points 2 days ago (1 children)

Managers when a tester does this in a planning meeting, asking for more time to write better teats: 😠

Managers when a staff level engineer does this in a post-fuckup root cause analysis meeting telling everyone what went wrong: 🤤

Managers when the tester points out it wouldn't have happened if tests for it had gotten written:

collapsed inline media

load more comments (1 replies)
load more comments
view more: next ›