this post was submitted on 28 Sep 2024
707 points (96.1% liked)

Programmer Humor

20375 readers
1560 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
707
Sometimes, it's backwards (sh.itjust.works)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago

Oh yeah, I love people who stick SQL lookups in a For Loop. Even better, the coder who puts conditional if (but no then/else) clauses around a dozen raw text execution commands that fire in sequence. So you're making six distinct lookups per iteration rather than answering your question in a single query and referencing the results from memory.

Internal screaming