1012
JavaScript (lemmy.ml)
submitted 3 days ago by [email protected] to c/[email protected]
(page 3) 50 comments
sorted by: hot top new old
[-] [email protected] 5 points 3 days ago

Oh we've hit an issue that's solved by another language or we could make another framework

[-] [email protected] 1 points 2 days ago* (last edited 2 days ago)

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)
[-] [email protected] 1 points 2 days ago

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

[-] [email protected] 0 points 2 days ago

What no type safety does to an MF...

load more comments
view more: ‹ prev next ›
this post was submitted on 04 Jun 2025
1012 points (98.6% liked)

Programmer Humor

23899 readers
767 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