• Taldan@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    5
    ·
    edit-2
    4 days ago

    His is a common syntax for not equals. Yours is just what people use when they dont know how to make the math symbol ≠

    His is correct, yours isn’t. If you want to assert the math symbol is the only correct one, at least actually use it

    • BeNotAfraid@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      4 days ago

      It’s common syntax in compsci, which I don’t have an education in. Yeah, I understand that there are specialised characters. I guess I’m just not pedantic enough to search how to create them on my desktop keyboard, or copy them from a web search, when I can approximate them using simple symbols and people understand what they mean. That would be like me pointing out that “≠” is an equivalency notifier which means “Is not equal to” and not “not equals” and that “<>” is actually a comparison symbol in the compendium of mathematical figures and does not actually notate equivalencies. Which could lead to a broader discussion on meaningful differences in mathematical symbols, based on the context within which, glossaries of mathematical notation are viewed. But, any insecure dickhead can google something and insert themselves into an interaction with a sense of superiority without actually engaging in any good faith discussion. So, I probably won’t. Have a nice day though!

      • FrederikNJS@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        I have an education in compsci, and I have worked in software engineering and platform engineering for 8 years now… And I only know of one programming language that makes use of “=/=” which is Erlang. Every other language or scientific papers I know of make use different operators.

        Prolog comes close with “==”, and Haskell too with “/=”, but every other language has either used “!=”, “~=” or “<>”. The papers I have read that go for a more pseudo-code or mathematical notation has always used “≠”.