[SOLVED] DSRN (dog slow roman numerals)
|
06-16-2014, 04:45 AM
Post: #46
|
|||
|
|||
RE: DSRN (dog slow roman numerals)
(06-15-2014 10:13 PM)Thomas Klemm Wrote: Now I'm curious. Would you make that list public? I didn't actually have a list, just a collection of little pet peeves, each of which has bitten me more than once. So, in no particular order: IF THEN ELSE END, One of them is superfluous. Depending on some condition, you either do clause_A or maybe do clause_B. Only three words should be necessary as in FORTH. IF 'X' 3 > THEN A ELSE B END is the same as 'X' 3 IF > THEN A ELSE B END . It could just be 'X' 3 > IF A ELSE B END . Similar with DO UNTIL END. UNTIL isn't necessary. + does the wrong thing with lists. It should do element-by-element addition, similar to -, *, and / . Some other operator (I favor &) should do concatenation for lists and possibly strings. Likewise with STO+ . Lack of BREAK and CONTINUE. Discussed elsewhere. Lack of ROT4 and UNROT4 to ease porting of RPN programs. Easy enough to simulate, but... Lack of rotate/shift left/right by n bits, a la 16C. Also rotate through carry. \GSLIST and \PILIST do not work for one-element lists. This appears to be more of an implementation issue than a language design issue. The numerical integrator hasn't been updated since the 34C in 1979. Again perhaps an implementation issue. Just my opinions. Your mileage may vary. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)