this post was submitted on 18 Aug 2025
888 points (99.1% liked)

Programmer Humor

25898 readers
276 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
[–] TomasEkeli@programming.dev 35 points 5 days ago (9 children)

I don't validate emails, I test them.

That's your email? OK, what did we send it? if we couldn't send to it or the user can't read it there's no reason to accept it.

OK, maybe I do some light validation first, but I don't trust the email address just because it's email-address-shaped.

[–] ChaoticNeutralCzech@feddit.org 7 points 5 days ago (6 children)

What kind of "light validation"? I'm guessing a .*@.* regex match.

[–] qqq@lemmy.world 7 points 5 days ago
load more comments (5 replies)
load more comments (7 replies)