Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On a basic four-function calculator, you can do "2 + 2 x 2 =" to get 8 without the extra = in the middle. RPN really shines when you use the stack for real. "(2 + 3) x (4 + 5)" is "2 3 + 4 5 + x" in RPN, but on a four-function this requires the stateful memory buttons and gets out of control fast. You may need to spill out to pen-and-paper with a four-function calculator, but you never need that with RPN. I'm less certain that the comparison works out in RPN's favor if you have a calculator with parentheses--where are you getting the complex expression that you're entering? If it's on paper, then it's already in infix notation and you had to mentally convert it to RPN inside-out. Entering the infix notation may be more keystrokes but likely less mental effort because it's more of a direct transcription. I taught a sibling how to use an HP-12C and I don't think they're ever gaining that time back in efficiency.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: