this post was submitted on 19 Jan 2026
400 points (99.5% liked)

Programmer Humor

28669 readers
1415 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
[โ€“] bestboyfriendintheworld@sh.itjust.works 1 points 3 days ago (2 children)

Email validation for a form should at most look for

  • at least one character
  • followed by @
  • followed by at least one character
  • followed by .
  • followed by at least two characters

Sending an email can take a few minutes. Form validation is instant.

[โ€“] JohnEdwa@sopuli.xyz 5 points 2 days ago

Which would still not be perfect because "foo@bar", "foo@[123.123.123.123]" and "๐Ÿ’ฉ @[IPv6 :::1]" are all technically valid email addresses.

It looks like the only validation that doesn't block something valid pretty much would start and end at "It has at least one @ symbol, and something on both sides".

[โ€“] planish@sh.itjust.works 2 points 3 days ago

So I can't be directly bezos@aws?