newRPL: persistent comments in RPL code
|
06-04-2015, 04:38 PM
Post: #1
|
|||
|
|||
newRPL: persistent comments in RPL code
I just read in another thread that RPL is unmaintainable and write-only, mainly because the code cannot be properly commented. While I always keep my commented source code in a separate directory, that's not the point.
Is there interest in having comments permanently inserted into the code? It's not difficult to achieve. What I'm proposing is that the character @, used for comments in RPL code, should compile like a string, but as a special type of object (a comment object), which gets compiled and decompiled with the code, but does nothing when executed. Code size would increase to hold the text, of course. Execution speed would be slightly decreased by skipping those comments. Persistence of comments could be activated/deactivated via a flag, although it should probably be on permanently, and comments should only be stripped using a special command to compile "release" versions. I think it's worth it, any objections? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
newRPL: persistent comments in RPL code - Claudio L. - 06-04-2015 04:38 PM
RE: newRPL: persistent comments in RPL code - BruceH - 06-04-2015, 11:42 PM
RE: newRPL: persistent comments in RPL code - Claudio L. - 06-05-2015, 03:58 PM
|
User(s) browsing this thread: 1 Guest(s)