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.
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.
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.
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.
It does if you want to get the answer to (2+3)/2 and not 2+3/2
There you go. Glad you finally worked it out 😂
says person who just said it does 🙄
Just like the + is “not there” in 3-2 🙄
No, it requires obeying the rules 🙄
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.
(2+3)/2
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 😂
Yep, that’s where things in brackets get put alright - see binary tree above😂
Except I just proved they do 😂
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?
You don’t know how to read infix notation?? THAT explains a LOT! 🤣🤣🤣
Yep, exact same equation - see the binary tree 🙄
Ok, so now you’re admitting to not knowing how programming works either. Got it.
You clearly don’t! 🤣🤣🤣
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.
That’s right. Welcome to you’ve been wrong all along.
(2+3)/2
You think the binary trees look different?? It’s you who needs to get your eyes checked! 🤣🤣🤣
Due to being in brackets, as per the binary tree for the 2 different notations for the same expression.
‘You’re right, you’re wrong!’
Are you having a stroke?