by billmcneale · 1y ago · 0 comments
When you see a complicated, parenthesized expression, it's up to you to figure out the deepest expression, enter it first, and then work your way out.
Standard calculators require more keystrokes but they can be entered without much thought, left to right. And these days, you can also edit and modify your input, so it's hard to justify RPN.
If you have
1 + (2 * 3 + (4 / 5))
The smallest key count with RPN is to start entering the deepest expression first:
4 ^ 5 / 2 ^ 3 * + 1 +
You can type it left to right but it takes more keys and is probably on par with standard paren arithmetic, which negates the RPN advantage
1 ^ 2 ^ 3 * 4 ^ 5 / + +