I think I gave a similar question a good answer in the past: I thought I understood "pass-by-sharing" in Julia until I found this - #19 by Henrique_Becker.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Usage of loops for defining new variables | 6 | 9641 | August 26, 2018 | |
| Weird behaviour of variable scope in Julia Loops | 1 | 337 | July 17, 2022 | |
| Problem in variable definition in loop | 11 | 4018 | January 30, 2022 | |
| Variable which disappear in a for | 6 | 813 | November 17, 2020 | |
| Error: variable inside a loop | 6 | 11571 | May 5, 2020 |