6 ms·
Your are right about shadowing: I just checked and the go specification calls it “redeclaration” and it works as you described: > Redeclaration does not introd
by broken_broken_ 1y ago
Your are right about shadowing: I just checked and the go specification calls it “redeclaration” and it works as you described:
> Redeclaration does not introduce a new variable; it just assigns a new value to the original
I added a mention about that in the article. Thank you.