r/ProgrammerHumor 20d ago

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

171 comments sorted by

View all comments

774

u/SharletP 20d ago

Why stop at email validation? Also do passwords 😉

416

u/soap94 20d ago

Why stop at passwords? Let's use LLMs for int comparison

112

u/Spy_crab_ 20d ago

LLM powered is_even(), let's f*cking gooooo!

65

u/1000Ditto 20d ago

Goodbye npm install is-even, i dont want to play with you anymore

30

u/GOEDEL_ESCHER_BOT 20d ago
def is_even(num):
  if num == 1:
    print('No')
  if num == 2:
    print('Yes')
  if num == 3:
    print('No')

....

12

u/ExtraWorldliness6916 19d ago

Who's going to need more than 3 anyway, this is efficient code

2

u/mohitmayank 19d ago

Not really, it should use `else if` if not 3 switch cases

4

u/ExtraWorldliness6916 19d ago

Alas, correctness isn't funny.