this post was submitted on 24 Jul 2026
428 points (98.2% liked)
Programmer Humor
32452 readers
1507 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
assert(true);
assert(true);
assert(true);
assert(true);
assert(true);
My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true)
Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed.
No idea how the software worked, but it did.
Have I worked with you before?
assert(true);
Dammit... PR rejected
Lol
Look at all the pretty green check marks!