For example, inside a for loop, I want to define some variables to do some operation, but I want them to be automatically removed once the iteration is over.
However, if I assing a value to a variable using <-
, even after the execution of the loop ends, the variable still persists and I have to remove it, manually, which is quite annoying.