Today in our newest take on “older technology is better”: why NAT rules!

    • NeatNit@discuss.tchncs.de
      link
      fedilink
      arrow-up
      19
      ·
      5 months ago

      What languages use this? I don’t like it!

      On the other hand it goes well with >= and <=. If >= means “either > or =” then <> means “either < or >”, it checks out.

      But I still don’t like it.

        • danA
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 months ago

          Depends on the dialect. I mostly use Presto and MySQL at work, and both allow !=.

          Presto also lets you use NOT for booleans - instead of WHERE foo = false, you can do WHERE NOT foo.

      • lambalicious@lemmy.sdf.orgOP
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        2
        ·
        5 months ago

        SQL uses it but yeah, not programming language :p.

        I was on mobile so I didn’t have a .XCompose available to type .

        • lemming@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          5 months ago

          If you want to be able to write practically anything on mobile, including ≠, ≈, ‰, ℝ etc., have a look at Unexpected keyboard. No spellcheck or autocomplete, though.

        • lud@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          I was on mobile so I didn’t have a .XCompose available to type.

          I feel the opposite. On mobile I have much easier access to special characters. I just need to hold down characters to get more variants.

        • danA
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          SQL is definitely a programming language. Most dialects are Turing-complete in some way. Some allow custom functions and stored procedures.

      • azalty@jlai.lu
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        5 months ago

        Damn I never understood it but now it makes sense thanks to you

        Yea it’s ugly 😭

      • skulbuny@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        5 months ago

        F# definitely and maybe Haskell and OCaml as well? Elixir and Erlang use it as a binary concatenation operator.

        • Phoenix3875@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          Yes for OCaml. Haskell’s inequality is defined as /= (for ≠). <> is usually the Monoid mappend operator (i.e. generalized binary concatenation).