I've reached the point where I constantly screw up with conventional calculators I'm so used to RPN.
xkcd
A community for a webcomic of romance, sarcasm, math, and language.
I do an equivalent thing, where I English sentences with German word order say, although English my native language is.
Obligatory joke that if you take the last page out of a German book, no-one will have any idea what happened in the story.
Alternatively, (❤️ I LISP)
Who needs PEMDAS when you have RPN :)
My first professional job was writing FORTH for fruit machines. I'd played with it a bit before on the Jupiter Ace we had which sadly never really took off despite being more elegant than the ZX81.
They wasted ) to some shit. ( should have been push next word to X-stack and ) should have been pop and execute top of X-stack.
Then writing (+ m n) would be equal to m n + and (IF (< A B) (THEN C ELSE D))) would be identical to writing A B < IF C ELSE D THEN
But they also got rid of and avoiding CREATE’s extra writes.
RPN breaks my brain, I need to refresh myself.
3
3 5
3 5 8
3 5 8 +
3 13
3 13 2
3 13 2 *
3 26
3 26 17
3 26 17 36
3 26 17 36 9
3 26 17 36 9 /
3 26 17 4
3 26 17 4 -
3 26 13
3 26 13 +
3 39
3 39 +
42
Or
3 + (((5 + 8) * 2) + (17 - (36 / 9)))
To be fair, my example was illustrative. The equivalent would simply be:
3 5 8 + 2 * 17 36 9 / - + +
Thanks.