Yeah, that was my favorite one
Yeah, that was my favorite one
Agreed wholeheartedly. The Lemmy community has been wonderful. People here actually have good conversations, even if they take a few days to do so, unlike the folks on Reddit. Reddit comments were more meme-y and less substantive.
Within a loop could be:
for(i in 1:10){
assign(paste0("listNum", i), list(i, someStringVector[i], i:(i+20), i*value))
}```
And you can also use get() in the same way to dynamically retrieve a variable.
I've gone so far into coding debauchery that I've dynamically assigned variables from dynamically retrieved ones, and I've done so fairly frequently.
Where’s the Julia programmer that hits every one of these with @benchmark and then works for six hours to shave three nanoseconds off of the fastest one?
(Example: https://discourse.julialang.org/t/faster-bernoulli-sampling/35209)