Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on UI is hell: four-function calculators. Parent comment
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 / + +
There are no comments on this comment yet.
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 / + +