this post was submitted on 27 Feb 2024
375 points (97.5% liked)

Programmer Humor

19809 readers
1074 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
 

Have a good day.

all 13 comments
sorted by: hot top controversial new old
[–] geogle 24 points 9 months ago* (last edited 9 months ago)

99 little bugs in the code

Take one down, patch it around

... 149 little bugs in the code.

[–] reddig33 14 points 9 months ago (1 children)

Oh well, just mark them as work on in the next release. Then shove them to the bottom of the pile when marketing wants you to work on ten new features instead.

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

It's a FOSS project, so wish me luck, as you can now get it in the mail eventually.

I had to run a makepkg today, which now includes my self-written pieces of code in master. So I'm eating my own dog food now, and it's good. Also, the itch from before has somehow relieved.

[–] [email protected] 8 points 9 months ago (1 children)

If "all bugs" was like 50 or so, that's pretty good. Well done!

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

Bugs that have existed for +3 years in a component and are nearly immediately visible to the end user. Oldest source line I touched was from before 2010.

[–] Klear 6 points 9 months ago

If you fix a bug, the number of bugs in the world remains the same.

- Batman

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

Hey, I still need to pay my bills next month. Better also put in some speed-up loops while you are putting in the bugs.

https://thedailywtf.com/articles/The-Speedup-Loop

[–] Solemarc 3 points 9 months ago

I love when I make a small code change and then I make my PR, CI runs and some piece of code entirely unrelated fails and it's now my job to work out how these two unrelated things are related.

[–] GroundedGator 2 points 9 months ago

Mentor of mine used to say

Developers, fix their heads, they lose their asses. Fix their asses they lose their heads.

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

This is why tests and the Beyonce-rule exist, friends.

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

If you liked it, you should've put a test on it.

Basically, any attribute of the code in question that matters to you should be under an automated test verifying the attribute.

It comes from Google. You can read more here: https://abseil.io/resources/swe-book/html/ch11.html