I’m all for it, but what kicked it off?

      • entwine@programming.dev
        link
        fedilink
        arrow-up
        12
        arrow-down
        25
        ·
        15 hours ago

        Fun fact: that’s why most computer programming languages use “!=” instead of “≠”

        • Echo Dot@feddit.uk
          link
          fedilink
          arrow-up
          8
          ·
          5 hours ago

          No it’s because you can’t type the not equal symbol very easily. If you type it it won’t work because most compilers aren’t expecting it.

          But you know your fact is nicer than the boring reality

        • BlindFrog@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          Sauce required plz

          “I wrote it on the internet” isn’t a good enough sauce for ppl, it’s tasteless

        • SpaceCowboy@lemmy.ca
          link
          fedilink
          arrow-up
          37
          ·
          14 hours ago

          I thought it had more to do with the fact that there isn’t a ≠ key on most people’s keyboards.

          • orbitz@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            12 hours ago

            My editor’s font/ligeratue changes the != To that symbol when programming. Unfortunately I have to use visual basic usually and type out Not most of the tiime but works well with C#.

            Probably not a big increase in readability but I like it. Damn hate all the words needed in VB.net but oh well, could not be programming for work which would be worse and least still know .net libraries.

          • entwine@programming.dev
            link
            fedilink
            arrow-up
            5
            arrow-down
            6
            ·
            10 hours ago

            Well, that’s because they removed it after WW2. The original IBM keyboard had this, and other Nazi symbolism. (IBM collaborated with the Nazis, if you weren’t aware)

            Another fun fact: the Windows logo today is where the swastika used to be. If you look closely, you can see how the swastika’s influence on Microsoft’s iconic logo persists to this very day

          • markovs_gun@lemmy.world
            link
            fedilink
            arrow-up
            8
            ·
            11 hours ago

            This is not one thing you learned today come on dude just think about it for two seconds. Could there possibly by another, much more likely reason that a programming language wouldn’t use ≠? Here’s a hint- if you’re at a computer, look down at your keyboard.

            • frog_brawler@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              3
              ·
              edit-2
              9 hours ago

              I mean, if the point you’re trying to make is that “≠” is not available on a keyboard, =/= is.

              • Echo Dot@feddit.uk
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                5 hours ago

                What’s your point? =/= Isn’t the “not equals to” term, it’s !=

                Just as ≥ isn’t available, so you have >= and ≈ is not on the keyboard, so we have ==

                Formal logical operators require the you to press the alt key and enter a numerical sequence on the keypad. If I had to type the logical operators with alt codes it would slow me down.