Python?? False

also None is another annoying quirk

How is None a quirk?

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

@flux@lemmy.ml
link
fedilink
English
13M

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
link
fedilink
English
1
edit-2
3M

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 21 users / day
  • 56 users / week
  • 282 users / month
  • 1.97K users / 6 months
  • 1 subscriber
  • 1.72K Posts
  • 37.4K Comments
  • Modlog