Re:Golang landmines
by lopatin on Sunday September 18, 2016 @09:22AM
(#12525177)
I tend to simply not have duplicate variable names (with the exception of `err`, which is always treated with special care anyways) so this shadowing behavior doesn't really trip me up any more.
[ Parent
| on HN ]
There are no comments on this comment yet.