this post was submitted on 25 May 2026
1309 points (99.2% liked)

Programmer Humor

31576 readers
2048 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] Kenny2999@lemmy.world 226 points 1 day ago (25 children)
[–] deadbeef79000@lemmy.nz 8 points 1 day ago (10 children)

Don't sanitise inputs. Reject non-conforming inputs entirely.

But otherwise: yes.

[–] nonagonOrc@lemmy.world 6 points 23 hours ago

No fuck both of those, just use prepared statements so user input can't be interpreted as SQL.

load more comments (9 replies)
load more comments (23 replies)