• AshMan85@lemmy.world
      link
      fedilink
      arrow-up
      57
      ·
      10 months ago

      Yup, they also love to pretend to be “constitutionalists” so let’s give em what they want and hang em like our four fathers would have

      • TimeSquirrel@kbin.social
        link
        fedilink
        arrow-up
        13
        ·
        edit-2
        10 months ago

        Normal languages: “does this equal that?”

        JS: “does this REALLY equal that, or just ‘equal’ that?”

            • Wrench@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              10 months ago

              No one checks those values explicitly.

              if (str) checks if it’s not null, undefined, or empty string.

              Optional chaining like if (arr?.length) checks if list is undefined, null, or empty array.

              Falsy and truthy comparators seem fucky in the beginning when coming from a strongly typed language. But they’re very convenient when used properly.

              • Randelung@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                10 months ago

                Monads exist, optional chaining has been around for ages, and implicit bool casts, too.

                As you said, no one checks those values explicitly.

    • ThunderWhiskers@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      10 months ago

      I doubt this whole display is anything more than a distraction from the impending elections but I’m going to keep saying it anyway:

      Please remember there are sane, reasonable, nonconservative people living here without a good way out. We’re not the enemy.

    • andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      8
      ·
      10 months ago

      Might not be domestic for long. Plus I hear they’ve got oil! Not sure they’ve thought this through.

    • f4f4f4f4f4f4f4f4@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      10 months ago

      Not just confederates, it’s the current MAGA “Republican” party. CPAC, Dallas, TX, Aug. 4-7, 2022:

      The persecution fetish is bigger in Texas.