Is RPN still relevant?
|
12-18-2023, 03:18 PM
Post: #28
|
|||
|
|||
RE: Is RPN still relevant?
(12-18-2023 12:08 PM)ijabbott Wrote: Indeed, a four-level stack is an artifice that has no place in teaching or learning mathematics. The NSTK mode opens other avenues, such as thinking about how computers work internally. I find the traditional 4-level RPN stack works for me because I can keep track of 4 things in my head pretty easily. There are only 24 ways to arrange 4 things. Beyond 4 levels, there is a combinatorial explosion, and it makes programming in a stack-based language like Forth frustrating. (RPL seems very similar to Forth as far as I can tell.) The resulting code is hard to read and hard to maintain for other people, including myself in 6 months. I don't enjoy doing stack juggling, when I know that the computer can do that far better and faster. I'm in the ironic situation where I love RPN calculators, but I hate stack-based programming. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)