Post Reply 
RPL second impressions (HP 28)
06-30-2018, 03:32 AM (This post was last modified: 06-30-2018 07:38 AM by Thomas Klemm.)
Post: #26
RE: RPL second impressions (HP 28)
(06-29-2018 11:32 PM)Valentin Albillo Wrote:  And not only are RPL programs of non-trivial size hard to write and hard to read, they're almost impossible to understand and edit unless:
    (1) you wrote the program and no more than a few days have elapsed since you did, and
    (2) you used lots of named variables and EVALs of algebraic expressions, and
    (3) you wrote down excruciatingly extensive docs and commented most every line

In this post about Farey Sequences in the old forum I wrote:
Quote:Looking at the different solutions I wondered whether I can still understand what I've done in a few weeks or months from now.

Looking at the different solutions I wrote more than 9 years ago I didn't have much trouble to understand the UserRPL program. The SysRPL program is similar. You just have to sprinkle a percent sign here and there. But I never would have recognised the code to add an algebraic expression to a list.

Even the horrible ALG for HP-35s solution I understood after a couple of WUTs. Who would ever use that?

Quote:The BASIC version for HP-71B is missing I know and it might be quiet similar to Python: a short one- or three-liner. Take it as a mini-challenge.

Cheers and have fun!
Thomas

PS: Years later I even provided a UserRPL program that avoids the STO command.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RPL second impressions (HP 28) - mdunn - 06-27-2018, 01:19 AM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 01:58 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 04:06 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 05:11 PM
RE: RPL second impressions (HP 28) - mdunn - 06-27-2018, 07:45 PM
RE: RPL second impressions (HP 28) - mdunn - 06-28-2018, 08:48 PM
RE: RPL second impressions (HP 28) - Thomas Klemm - 06-30-2018 03:32 AM
RE: RPL second impressions (HP 28) - ttw - 07-04-2018, 10:52 PM



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