Hacker News new | past | comments | ask | show | jobs | submit login

Go is very fast to lint. Having linter to check whether your switch statement is exhaustive is a good idea regardless.



That's irrelevant to the task at hand. The linter can't tell you if your type switch can handle every `interface{}` that might be passed into it some day.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: