Post Reply 
Prime and 50g, interesting perspective
09-04-2021, 04:19 AM
Post: #15
RE: Prime and 50g, interesting perspective
(09-03-2021 09:39 PM)David Hayden Wrote:  I believe newRPL also has local variables with no runtime cost difference vs. stack variables. The stackrobatics of some RPN/RPL programs make them nearly unreadable. In their defense, they are usually written for speed and compactness, not readability.

Dave

You are correct. If you store subroutines in local variables, you can call them by name in your code, but the compiler replaces them with GETLAM style instructions that do not need to search or scan anything.

I agree with 3298 and you, the shortcomings are normally attributed to the language but are actually a matter of organization and documentation effort from the programmer. No language is self-documenting. It takes hard work to make readable code.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Prime and 50g, interesting perspective - Claudio L. - 09-04-2021 04:19 AM



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