this post was submitted on 17 May 2025
337 points (99.4% liked)

Programmer Humor

23312 readers
2697 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] FooBarrington@lemmy.world 9 points 20 hours ago (1 children)

typeof null === "object" was actually a bug in the early implementations, and they decided to keep it in the spec: https://2ality.com/2013/10/typeof-null.html

(see the comment from Brendan Eich)

[–] gnutrino@programming.dev 14 points 17 hours ago* (last edited 17 hours ago) (2 children)

Tony Hoare: "Introducing NULL was a billion-dollar mistake"

Brendan Eich: "Hold my undefined"

[–] FooBarrington@lemmy.world 15 points 16 hours ago

We had one null, yes. But what about second null?