463
you are viewing a single comment's thread
view the rest of the comments
[-] fauxerious@lemmy.world 38 points 4 months ago
[-] HiddenLayer555@lemmy.ml 3 points 4 months ago

also None is another annoying quirk

[-] flux@lemmy.ml 1 points 4 months ago
[-] HiddenLayer555@lemmy.ml 3 points 4 months ago

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

[-] flux@lemmy.ml 1 points 4 months 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.

[-] HiddenLayer555@lemmy.ml 1 points 4 months ago* (last edited 4 months ago)
this post was submitted on 28 Nov 2024
463 points (88.3% liked)

Programmer Humor

34872 readers
146 users here now

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

Rules:

founded 5 years ago
MODERATORS