• JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      When I was in elementary school I knew how to use the signs but not how to read them. So I’d always read it as greater than and flip it. So 3 < 5 I would read out loud as “5 is greater than 3”. My teacher quickly corrected me though. So it was only for like a week or so.

    • tetris11
      link
      fedilink
      arrow-up
      1
      arrow-down
      11
      ·
      edit-2
      4 months ago

      Exactly, both of those statements convey the same information but are encoded in different ways.

      To a foreigner, seeing the > < brackets may be more contextual than it is symbolic.

      • Dasus@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        4 months ago

        “To a foreigner”?

        You know “<” and “>” aren’t English expressions, right…?

        • Faresh
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          Yes, but if you have 5 > 3, you can read the “>” in two different ways:

          1. 5 is greater than 3 (reading left to right)
          2. 3 is less than 5 (reading right to left)

          So which one is the correct way to spell out “>”? I also was confused about that for some time, since I was taught that the pointy end always points to the smaller number which is intuitive and can very easily be remembered, but I still had to memorize which symbol is pronounced as “less than” and which is pronounced as “greater than” until I realized that at least in every language I speak it’s always read from left to right.

          It still takes a bit of a second for me once in a while these days to remember the correct name for the signs when I see them.

          • GaMEChld@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            edit-2
            4 months ago

            The way my mind works is I find it faster to reconstruct the meaning every time rather than attempt to memorize which one is said which way.

            Example: 3<5

            My mind:

            1. 3 is the small number / 5 is the large number.

            2. How do I say that in a sentence?

            3. Three is less than five.

            I do the math, not remember the definition.

            • tetris11
              link
              fedilink
              arrow-up
              3
              arrow-down
              2
              ·
              4 months ago

              If english is your first and main language, then there is no confusion mapping “less than” → <, and “greater than” → >.

              If english is not your first and main language, then you might hesitate or ask for clarification on the symbols, or guess from the context.

              • sugar_in_your_tea@sh.itjust.works
                link
                fedilink
                arrow-up
                2
                ·
                4 months ago

                At the end of the day, it really doesn’t matter if you write 3 < 5 or 5 > 3, nor does it matter if you say “3 is less than 5” or “5 is greater than 3.” Read it however you want, provided you convey accurate information.

                However, if you don’t know the meaning of the symbol (i.e. if you see x < y and aren’t sure whether x or y is bigger), then we have a problem.

          • Antium@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            We were always told < is less than. The symbol looks like an L for Less. If the L is facing the wrong way > it’s greater than.

        • tetris11
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          4 months ago

          no, those use the same operator. My example uses two different operators for the same result