I've read that monks avoid indexing into an array.
I've never read that myself.
if a monk had an array with 1 million elements would they call shift to get the first element
If you really needed to modify the array then there is no other way, else you should not modify it and just use an index into the array.
In reply to Re: shift v. indexing into an array
by jwkrahn
in thread shift v. indexing into an array
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |