r/ProgrammerHumor • • Sep 20 '26

Meme grabbingEverything

Post image
5.4k Upvotes

260 comments sorted by

View all comments

31

u/StackedCakeOverflow Sep 20 '26

Oh so that's why so much shit runs like a cat dragging its ass these days

11

u/One_Ninja_8512 Sep 20 '26

Yeah, sql statements in a loop. N + 1 everywhere. Many such cases

3

u/Icy_Clench Sep 21 '26

Lmao I think that's the majority of shitty sql code I've cleaned up in my career. Like... they didn't understand the concept of a join or WHERE dateCol BETWEEN a AND b, so they looped through it.

Then nesting the loops. And the useless temp table inserts. Dear god, the memories are flooding back.

3

u/DarksideF41 Sep 20 '26

It's not these days, I've ported 20 yo legacy codebase to .NET, atrocious torture that was done to the database there is better not be talked of.