Liste des Groupes | Revenir à cl forth |
I explained how locals differ from PICK/ROLL. In addition there's
no evidence PICK/ROLL is used frequently or held up as a solution.
As you appear to see a connection, I was hoping you would explain it.
Everyone is free to solve their problems
the way they're most comfortable with - be
it bezemerish string of DUP-SWAP-ROTs or
PICK/ROLL.
As for me, I'm convinced by this recommedation:
"Pick and Roll are the generic operators which
treat the data stack as an array. If you find
you need to use them, you are probably doing
it wrong. Look for ways to refactor your code
to be simpler instead."
In a way this statement can be extended to the
use of local variables. Still, as I said, it's
allowed. No need for "too ideological" approach
if that works for the programmer, neither for
insisting on "canonical" ways etc.
Les messages affichés proviennent d'usenet.