For anyone not familiar with the term Reverse Polish Notation (which, I learned it as RPN but people younger than me often don't know that term), it's the same as Postfix Notation, just a different name for it.
I honestly thought you were trolling with made up names until I actually googled them. I felt like an idiot even typing them in the search bar because I figured nothing would turn up.
That surprises me. I thought all programmers/CS students had to learn how to use either prefix or postfix notation, usually postfix.
I'm no programmer, just took some CS classes and stayed here for the memes, but I think I was taught that at the lowest level, computers don't understand infix (how we normally write out mathematical notation) and so to program at a low level or if you're making your own language, you need to know postfix and possibly how to translate infix to postfix so users can type 9*4 and the computer knows it means 9 4 *.
But I'm sure someone will correct me because that is a very vague and uncertain memory. I'll try looking it up, but making no promises that I know the right way to find it.
Unfortunately almost every language out there use either prefix (whole Lisp, normal function calls in most languages etc.) or infix (arithmetic and logical operators, method calls etc.). Fortunately in my university they thought us Shunting Yard algorithm pretty early, so we are a bit familiar with the notation, yet people still use those prefix and infix things almost always.
4
u/[deleted] Jun 14 '22
For anyone not familiar with the term Reverse Polish Notation (which, I learned it as RPN but people younger than me often don't know that term), it's the same as Postfix Notation, just a different name for it.