Hacker News new | ask | show | jobs
by teeray 512 days ago
> You are never forced to check errors…

There are linters that do, and I am of the opinion they should be added to `go vet`.

> Knowing the operation can be faulty somehow is a good way of putting it, because in most cases it's difficult — if not impossible

Guru was once able to tell you exactly what errors could be generated from any given err. Now that the world is LSP, we have lost this superpower.

1 comments

Traditionally linters are workarounds for features that should be in the language.

Instead we pack best practices in an external tool.