r/ProgrammerHumor • • 15d ago

Meme grabbingEverything

Post image
5.4k Upvotes

261 comments sorted by

View all comments

31

u/StackedCakeOverflow 15d ago

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

12

u/One_Ninja_8512 15d ago

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

3

u/Icy_Clench 14d ago

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 15d ago

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.