cross-posted from: https://lemmy.world/post/10094818

spoiler

Gender variability as declarations in JavaScript: const / let / var

Meme is based on Jordan Peterson “approival / disapproval” format, him being a conservative who disapproves of gender fluidity.

Transcript:

  • Jordan Peterson approval image: const gender;
  • Jordan Peterson angry image: let gender;
  • Jordan Peterson crying image: var gender;
      • CallumWells@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        11 months ago

        Null was a mistake (as per what quite a few people say) XD

        Don’t know if some actual thing saying “undefined” explicitly would/could be any better, though.

        • Doc Avid Mornington@midwest.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          There are two kinds of “null” that are often called out as mistakes, you may be thinking of. One is the null reference, as found in languages like C and Java, which Tony Hoare, who created it for ALGOL back in the sixties, has called his “billion dollar mistake”. The other is the three-valued-logic of null in SQL, which is almost as bad.

          There’s nothing wrong with “null”, necessarily, in other contexts, although I do think a more clear name for whatever it means in any given context might be better.

    • lugal@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      11 months ago

      That’s 0.1 2 so it’s still binary

      Checkmate atheist

      Edit: the 2 is supposed to be a subscript