Feels like it could be one of those facebook posts to test "smart" people. Only the top 1% of people can answer this simple math question: "11" + 2 * 2 - 3
javascript is to web developers what powerpoint is to sales people
If you're consciously and intentionally using JavaScript like that, I don't want to be friends with you.
It's because +
is two different operators and overloads based on the type to the left, while -
is only a numeric operator and coerces left and right operands to numeric. But frankly if you're still using +
for math or string concatenation in 2025, you're doing it wrong.
load more comments
(5 replies)
Oh we've hit an issue that's solved by another language or we could make another framework
this post was submitted on 04 Jun 2025
1031 points (98.6% liked)
Programmer Humor
23995 readers
1433 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS