3 ms·
Well, that's an "easy" bug. What about not-shadowing a "non-loop" variable? Take a look at this question: http://stackoverflow.com/questions/18499352/golang-
by dispose13432 10y ago
Well, that's an "easy" bug.
What about not-shadowing a "non-loop" variable?
Take a look at this question:
http://stackoverflow.com/questions/18499352/golang-cuncurrency-how-to-append-to-the-same-slice-from-different-goroutines http://stackoverflow.com/questions/18499352/golang-cuncurren...
It's easy to mess up during refactoring, and there's pretty much no reason to allow it.