this post was submitted on 15 Jul 2025
459 points (94.9% liked)

Programmer Humor

37249 readers
6 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FunkyStuff@hexbear.net 4 points 4 days ago* (last edited 4 days ago)

Throwback to when someone shared the OG version of this meme to my uni chat, I replied with "Oh you can simply do

def is_even(n: int) -> boolean:
    if n > 0 return not is_even(n - 1)
    elif n < 0 return not is_even(n + 1)
    else return True

And instead of laughing at the joke the TA in the chat said "When you start getting internships you'll do n % 2" like I was being serious.