Epiverse-TRACE developer space - Lesser-known reasons to prefer apply() over for loops #128
Replies: 2 comments 1 reply
-
The index variable doesn't "Leak" anywhere. It is defined inside its own environment, so any for-loop inside a closure will not affect any variable in the .globalenv. but in any case, only a fool fails to set all named loop indices to names never used anywhere else. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Isn't |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Epiverse-TRACE developer space - Lesser-known reasons to prefer apply() over for loops
A place for Epiverse-TRACE developers to share their reflections, learnings, and showcase their work.
https://epiverse-trace.github.io/posts/for-vs-apply/
Beta Was this translation helpful? Give feedback.
All reactions