3 ms·
I used to write pretty complex 2d games in RPL on my HP-50g in high school and man, the density of the code was absolutely amazing. For some reason that I can't
by mruts 7y ago
I used to write pretty complex 2d games in RPL on my HP-50g in high school and man, the density of the code was absolutely amazing. For some reason that I can't quite explain, using a stack based system can produce shorter code than any other paradigm (maybe besides APL and derived languages). But I also found the programs to be almost impossible to read and modify even just a couple days after writing.
There's no doubt that I'm nowhere near as smart as Chuck, but I don't think I could handle a million line code base in Forth or RPL. Maybe the equivalent million line C program would only be 10000 lines or something, but I'm not sure I could handle that either.
I've thought about the problem of readability and understandability of RPN languages and syntax, and I wonder where it comes from. I have a theory that it relates to some fundamental structure of the brain and how we process syntax and information, but I'm not sure. Also maybe it has to do with the amount of (unnamed) context you have to keep in your head at one time.
- deleted 7y ago[deleted]