• 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
      ·
      1 month 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
          ·
          1 month 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.