Comment Comment by retroencabulato > Everyone expects these values to be scoped inside the loop, but go reuses the same memory location for every iteration.I don't see this as surprising as a C++ user. Who is 'everyone' here? parent retroencabulato 10 years ago
I don't see this as surprising as a C++ user. Who is 'everyone' here?