this post was submitted on 09 Jul 2024
156 points (95.9% liked)

Programmer Humor

19602 readers
975 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
 

Meme transcription:

Bro, just one more bug fix, I swear. The base design is good, promise. This is just a simple bug that I need to fix. It doesn’t require redesigning my approach. I know I’m calling the same function 8 times to get the same data each time, but that’s just this one time, bro. I know they’re asynchronous functions and loading now takes 300ms, but this is just during development, bro. I know I’ve inlined about 7 different things that should be seprate, but that was necessary to fix the previous last bug. I swear, I’m almost done. This is the last bug to fix, bro.

top 5 comments
sorted by: hot top controversial new old
[–] MostlyBlindGamer@rblind.com 28 points 4 months ago

Measure once, cut 38 times.

[–] MHanak@lemmy.world 21 points 4 months ago (1 children)

My general tip (disclaimer: i am generally a newbie): don't be afraid of rewriting code, if you bodge one thing it will get you later twice over

[–] xmunk@sh.itjust.works 12 points 4 months ago

And add unit tests to trivialize this process!

[–] sukhmel@programming.dev 3 points 4 months ago

Sounds like an addiction, bro

[–] grrgyle@slrpnk.net 2 points 4 months ago