7 ms·
Would it be accurate to say that the variable values are fresh per iteration as of 1.22 and fresh only per initialization prior? I was looking for a falsificati
by quantified 3y ago
Would it be accurate to say that the variable values are fresh per iteration as of 1.22 and fresh only per initialization prior? I was looking for a falsification of that description in the text.
- tapirl 3y agoCould you elaborate more on "fresh only per initialization prior"? I don't very get it.
- quantified 3y agoFresh only per initialization in go 1.21 and earlier. Fresh refers to when the variable is apparently initialized with a value.
- tapirl 3y ago> Would it be accurate to say that the variable values are fresh per iteration as of 1.22 and fresh only per initialization prior? Yes, if the loop variables are declared in the init-statement of a loop (using := ).