this post was submitted on 13 Oct 2023
819 points (93.8% liked)
Programmer Humor
33280 readers
457 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The other day my editor was broken. It kept inserting extra parenthenses inside my if condition. Sheesh, but oh well, cannot fix that now, gotta fix this piece of code that for some reason isn't doing what it's supposed to.
Turned out (much later) I had typed
=
instead of==
. Which makes the code formatter insert extra parentheses inside the if expression.I've been coding for 30 years.