|
|
|
|
|
by kragen
1295 days ago
|
|
i agree, and though it is certainly possible to get ensnared in dup exch baling wire in ps, it isn't nearly as common, maybe because you can just 6 dict begin for some tasty recursion-safe local variables when you have the appetite or maybe because you can't >r r@ r@ rdrop, or because garbage-collected [arrays] remove the temptation to write subroutines with 6 parameters ps is fairly big compared to forth, not the 16 megs of libgs.so.9.50 but definitely a lot more than 8k what they have in common is interactive repl orientation, user-defined control structures, great flexibility, lack of static types, and of course rpn i was going to say 'closures' but of course ps's scoping is dynamic so it lacks them |
|