On Monday, October 29, 2018 at 5:05:40 AM UTC-7, Sokolov Yura wrote:
>
> Yes, err handling is a part of variable shadowing mistakes. But it is not 
> all such mistakes.
> I shadowed other variables at least as often as errors.
>

While shadowing is sometimes an issue, warning every times it happens 
generates too much noise.

I like `ineffassign` that finds most issues caused by shadowed variables, 
with a very low false-positive rate.

https://github.com/gordonklaus/ineffassign


Damian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to