News for hackers. Stuff that matters.
Re:UI is hell: four-function calculators by billmcneale on Friday January 24, 2025 @04:22PM (#42817040)
Yes, exactly.

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.