Hacker News new | ask | show | jobs
by fredch 2942 days ago
Forget that. There's example code in the standard library documentation that golint will flag. Seriously. And the devs don't give a fig, even though the "proper" way forces you to put some throwaway variable outside the if statement scope.

Golint literally suggests scope pollution. It deserves to be replaced.