this post was submitted on 27 Feb 2024
384 points (97.8% liked)

Programmer Humor

19471 readers
30 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
 

Have a good day.

all 13 comments
sorted by: hot top controversial new old
[–] geogle@lemmy.world 25 points 8 months ago* (last edited 8 months ago)

99 little bugs in the code

Take one down, patch it around

... 149 little bugs in the code.

[–] reddig33@lemmy.world 13 points 8 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.

[–] JATtho@sopuli.xyz 7 points 8 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.

[–] Creat@discuss.tchncs.de 10 points 8 months ago (1 children)

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

[–] JATtho@sopuli.xyz 6 points 8 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@lemmy.world 6 points 8 months ago

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

- Batman

[–] Thorry84@feddit.nl 4 points 8 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@lemmy.world 3 points 8 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@lemmy.world 2 points 8 months ago

Mentor of mine used to say

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

[–] GissaMittJobb@lemmy.ml 1 points 8 months ago (1 children)

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

[–] threelonmusketeers@sh.itjust.works 1 points 8 months ago (1 children)
[–] GissaMittJobb@lemmy.ml 2 points 8 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