• mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    Did you know Russian has no indefinite articles? They’re not implicit. They’re just not there. It’s why stereotypical moose-and-squirrel impressions say things like “have nice day.”

    In exactly the same way, RPN doesn’t have implicit brackets, because it does not need brackets, period. It can equivalently express the operations of an algebraic equation which has brackets, but that doesn’t mean it has or uses or needs or implies those brackets. They’re just not there. Getting the right answer does not require secret translation to the one notation you understand.

    How would you treat someone who insists brackets don’t exist, because they’re only implicitly representing a stack? Like, you can write (2+3)/2, but that’s only doing 2 2 3 + /. Obviously brackets aren’t real.

    • because it does not need brackets, period

      It does if you want to get the answer to (2+3)/2 and not 2+3/2

      It can equivalently express the operations of an algebraic equation which has brackets

      There you go. Glad you finally worked it out 😂

      implies those brackets

      says person who just said it does 🙄

      They’re just not there

      Just like the + is “not there” in 3-2 🙄

      Getting the right answer does not require secret translation to the one notation you understand

      No, it requires obeying the rules 🙄

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        2 months ago

        The answer to 2 2 3 + / does not involve brackets. Brackets aren’t real. Don’t you know all equations are secretly RPN, in the background? There’s only a stack, and the rules for a stack are that brackets do not work.

        • The answer to 2 2 3 + / does not involve brackets.

          (2+3)/2

          Don’t you know all equations are secretly RPN, in the background?

          No they aren’t liar. They are broken down into binary trees. I teach Computer Science as well dude.

          Here’s the binary tree for 2 2 3 + /

          Here’s the binary tree for (2+3)/2

          Oh look! it’s the exact same tree! Who woulda thought. Oh yeah, me - I’ve only been telling you that the whole damn time 😂

          There’s only a stack,

          Yep, that’s where things in brackets get put alright - see binary tree above😂

          the rules for a stack are that brackets do not work

          Except I just proved they do 😂

          • mindbleach@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            2 months ago

            (2+3)/2

            What is this irrelevant equation? We’re talking about 2 2 3 + /. There’s no tree, just a stack. Do you not know what words mean?

            • What is this irrelevant equation?

              You don’t know how to read infix notation?? THAT explains a LOT! 🤣🤣🤣

              We’re talking about 2 2 3 + /

              Yep, exact same equation - see the binary tree 🙄

              There’s no tree, just a stack

              Ok, so now you’re admitting to not knowing how programming works either. Got it.

              Do you not know what words mean?

              You clearly don’t! 🤣🤣🤣

              • mindbleach@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                2 months ago

                A stack isn’t a tree, dingus! 2 2 3 + / has no parentheses, get your eyes checked. 2 3 + gets resolved when it happens, not based on some entirely different convention you have to translate to so you can figure out addition.

                • A stack isn’t a tree

                  That’s right. Welcome to you’ve been wrong all along.

                  2 2 3 + / has no parentheses,

                  (2+3)/2

                  get your eyes checked.

                  You think the binary trees look different?? It’s you who needs to get your eyes checked! 🤣🤣🤣

                  2 3 + gets resolved when it happens

                  Due to being in brackets, as per the binary tree for the 2 different notations for the same expression.