486
you are viewing a single comment's thread
view the rest of the comments
[-] FooBarrington@lemmy.world 14 points 2 months ago

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 19 points 2 months ago* (last edited 2 months ago)

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

Brendan Eich: "Hold my undefined"

[-] FooBarrington@lemmy.world 20 points 2 months ago

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

this post was submitted on 17 May 2025
486 points (100.0% liked)

Programmer Humor

25457 readers
1013 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