this post was submitted on 04 Jun 2025
1015 points (98.6% liked)

Programmer Humor

23855 readers
1327 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 2 years ago
MODERATORS
 
(page 3) 50 comments
sorted by: hot top controversial new old
[–] cupcakezealot@lemmy.blahaj.zone 2 points 1 day ago* (last edited 1 day ago)

javascript is to web developers what powerpoint is to sales people

[–] bitjunkie@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (5 children)

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)
[–] LovableSidekick@lemmy.world 1 points 2 days ago

It's my favorite language too, but I also find this hilarious.

[–] ZILtoid1991@lemmy.world 0 points 1 day ago

What no type safety does to an MF...

load more comments
view more: ‹ prev next ›