Post Reply 
advantages of RPN
05-22-2014, 09:44 AM
Post: #14
RE: advantages of RPN
(05-22-2014 01:25 AM)Garth Wilson Wrote:  However, the algebraic one cannot re-use intermediate parts of the equation without storing them in a variable for later retrieval; whereas with a stack, you can dup it. Things get hairy when you have lots of parts of a program needing temporary variables. Is a particular one free at the moment, or will I step on something still needed by a pending routine? It may be fine now, but what happens if I have to come back later and modify it? Did I document well enough which ones were used where, and when, or will it mess up and then a part I didn't touch quits working, because I used its temporary variable in my other modified routine? It can be a debugging nightmare. A stack reduces the need for variables, and makes program maintenance much easier. These temporary variables cease to exist when they're no longer needed.

I like RPN a lot, but my Prime is set to algebraic mode. What I like so much about algebraic mode on the Prime (and on calculators like the TI NSpire, TI-89, etc.) is that there is a visible and re-usable history of all calculations. I virtually never need to use variables to store results because previous results - and the calculations that led to them - are always available. I still need variables in programs, but with the Prime's structured language variable conflicts aren't a problem. RPN has real advantages on a single-line display machine but on the Prime I like algebraic better.

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
advantages of RPN - Don Shepherd - 05-21-2014, 09:34 PM
RE: advantages of RPN - Tugdual - 05-21-2014, 10:20 PM
RE: advantages of RPN - Garth Wilson - 05-22-2014, 01:25 AM
RE: advantages of RPN - Les Bell - 05-22-2014, 05:38 AM
RE: advantages of RPN - Nigel (UK) - 05-22-2014 09:44 AM
RE: advantages of RPN - Garth Wilson - 05-23-2014, 02:30 AM
RE: advantages of RPN - Mike Morrow - 05-22-2014, 03:24 AM
RE: advantages of RPN - Jim Horn - 05-21-2014, 11:46 PM
RE: advantages of RPN - Dale Reed - 05-22-2014, 12:09 AM
RE: advantages of RPN - Didier Lachieze - 05-22-2014, 12:25 AM
RE: advantages of RPN - Dale Reed - 05-22-2014, 01:37 AM
RE: advantages of RPN - Thomas Klemm - 05-22-2014, 01:55 AM
RE: advantages of RPN - rprosperi - 05-22-2014, 02:50 AM
RE: advantages of RPN - Jake Schwartz - 05-26-2014, 09:32 PM
RE: advantages of RPN - Don Shepherd - 05-26-2014, 11:30 PM
RE: advantages of RPN - Manolo Sobrino - 05-22-2014, 12:39 AM
RE: advantages of RPN - Don Shepherd - 05-22-2014, 01:15 AM
RE: advantages of RPN - Alvaro - 05-22-2014, 03:08 PM
RE: advantages of RPN - Don Shepherd - 05-22-2014, 04:42 PM
RE: advantages of RPN - Les Bell - 05-22-2014, 10:58 PM
RE: advantages of RPN - Thomas Radtke - 05-23-2014, 04:48 AM
RE: advantages of RPN - Matt Agajanian - 05-23-2014, 05:08 AM
RE: advantages of RPN - Don Shepherd - 05-23-2014, 08:49 AM
RE: advantages of RPN - Matt Agajanian - 05-23-2014, 04:18 PM
RE: advantages of RPN - Matt Agajanian - 05-23-2014, 04:35 PM
RE: advantages of RPN - Alvaro - 05-23-2014, 05:00 PM
RE: advantages of RPN - Thomas Klemm - 05-23-2014, 05:17 PM
RE: advantages of RPN - Alvaro - 05-23-2014, 05:34 PM
RE: advantages of RPN - Thomas Klemm - 05-23-2014, 06:16 PM
RE: advantages of RPN - rprosperi - 05-23-2014, 06:04 PM
RE: advantages of RPN - Garth Wilson - 05-23-2014, 06:44 PM
RE: advantages of RPN - Claudio L. - 05-23-2014, 08:37 PM
RE: advantages of RPN - Alvaro - 05-24-2014, 08:47 AM
RE: advantages of RPN - Paul Dale - 05-24-2014, 09:22 AM
RE: advantages of RPN - Garth Wilson - 05-24-2014, 10:09 AM
RE: advantages of RPN - Alvaro - 05-24-2014, 10:36 AM
RE: advantages of RPN - Les Bell - 05-25-2014, 02:00 AM
RE: advantages of RPN - Garth Wilson - 05-25-2014, 03:18 AM
RE: advantages of RPN - Joe Horn - 05-25-2014, 06:34 AM
RE: advantages of RPN - Garth Wilson - 05-26-2014, 08:34 AM



User(s) browsing this thread: 6 Guest(s)