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

Programmer Humor

25885 readers
694 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 13 points 4 days ago* (last edited 4 days ago) (2 children)

Almost correct. ^.+@.+$

Too hard to validate properly to be worth it. Even if it is technically valid that's insufficient. It must also work, and the easiest way to test that is to use it and verify that the user got what we sent.

[–] GreenKnight23@lemmy.world 5 points 4 days ago (1 children)

I see you accept lemmy handles.

[–] TomasEkeli@programming.dev 9 points 4 days ago

if i can email them and the user gets it - fine by me

[–] qaz@lemmy.world 2 points 4 days ago (1 children)
[–] TomasEkeli@programming.dev 4 points 4 days ago

Would pass first validation, but fail when we try to send an email.

Successfully failed.