this post was submitted on 28 Nov 2024
464 points (88.5% liked)

Programmer Humor

32718 readers
353 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 38 points 3 weeks ago (1 children)
[–] [email protected] 3 points 3 weeks ago (1 children)

also None is another annoying quirk

[–] [email protected] 1 points 3 weeks ago (2 children)
[–] [email protected] 3 points 3 weeks ago (1 children)

The way it's written. Most programming languages call it null

[–] [email protected] 1 points 3 weeks ago

That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None.

And it's not even the same thing: null means pointer to nothing, while None means no value.