xkcd #3277: Forth
Title text:
I NOTATION POLISH REVERSE ❤️
Transcript:
Transcript will show once it’s been added to explainxkcd.com
Source: https://xkcd.com/3277/
Syndicated from the fediverse. Read and engage on the original instance.
View original on lemmy.worldTitle text:
I NOTATION POLISH REVERSE ❤️
Transcript:
Transcript will show once it’s been added to explainxkcd.com
Source: https://xkcd.com/3277/
11 replies
I've reached the point where I constantly screw up with conventional calculators I'm so used to RPN.
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)
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.
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.
Who needs PEMDAS when you have RPN :)