this post was submitted on 14 Aug 2025
119 points (96.9% liked)

Programmer Humor

38282 readers
92 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] pineapple@lemmy.ml 2 points 1 month ago (1 children)

I'm so confused. I understand the reasoning behind two equal signs but three?

[โ€“] nailbar@sopuli.xyz 11 points 1 month ago* (last edited 1 month ago)

Afaik with three it also requires the types to be equal. Like 0 == false, but 0 !== false, because they're different types.