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

Programmer Humor

23398 readers
1905 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 196 points 1 month 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 77 points 1 month 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 30 points 1 month 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 1 month 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 1 month 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 14 points 1 month 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 1 month 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 1 month 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 1 month ago (1 children)

Hey! My company just fired ours today!

[–] bleistift2@sopuli.xyz 24 points 1 month ago

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

[–] Shanmugha@lemmy.world 15 points 1 month 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 1 month 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 80 points 1 month ago (2 children)

The programmer's answer?

We don't support that use case.

[–] Vent@lemm.ee 69 points 1 month ago (2 children)

"Works for me and my sister."

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

Then we'll ship you and your sister.

[–] Confused_Emus@lemmy.dbzer0.com 17 points 1 month 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 1 month ago* (last edited 1 month ago) (4 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

load more comments (4 replies)
[–] bandwidthcrisis@lemmy.world 46 points 1 month ago (1 children)

Physicist: "assuming a spherical year ..."

[–] alt_xa_23@lemmy.world 18 points 1 month ago (5 children)
load more comments (5 replies)
[–] bisby@lemmy.world 44 points 1 month 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 17 points 1 month ago

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

[–] tauren@lemm.ee 7 points 1 month ago

ML in action.

[–] dragonlobster@programming.dev 40 points 1 month 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 1 month 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 33 points 1 month 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 1 month 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 1 month 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 1 month 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.

load more comments (1 replies)
[–] grooving@lemmy.studio 28 points 1 month ago (1 children)

Didn't even consider leap years. Smh

[–] T156@lemmy.world 9 points 1 month 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 21 points 1 month 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?

[–] bampop@lemmy.world 18 points 1 month 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.

[–] KittyCat@lemmy.world 18 points 1 month ago (3 children)

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

load more comments (3 replies)
[–] scrubbles@poptalk.scrubbles.tech 14 points 1 month ago
[Test]
public void Sister_IsAstronaut() 
{
[–] LovableSidekick@lemmy.world 12 points 1 month ago* (last edited 1 month 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.

[–] codexarcanum@lemmy.dbzer0.com 12 points 1 month 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)
[–] iAvicenna@lemmy.world 11 points 1 month ago

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

[–] outerspace@lemmy.zip 10 points 1 month ago

Really have to start with a definition of "now"

[–] _stranger_@lemmy.world 9 points 1 month 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:

load more comments (1 replies)
[–] homesweethomeMrL@lemmy.world 8 points 1 month ago

This may be why I hated math.

[–] rbn@sopuli.xyz 8 points 1 month ago* (last edited 1 month 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.

[–] fibojoly@sh.itjust.works 8 points 1 month 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).

load more comments
view more: next ›