this post was submitted on 02 Feb 2024
295 points (96.8% liked)

Programmer Humor

19606 readers
1140 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Blackmist@feddit.uk 6 points 9 months ago (1 children)

Having assignments return a value is right up there as well.

[–] GissaMittJobb@lemmy.ml 8 points 9 months ago (1 children)

Because of the possibility of accidentally performing an assignment in a conditional expression?

If yes, I agree that it's not great.

[–] Blackmist@feddit.uk 3 points 9 months ago

Yeah, exactly that.