2 ms·
> 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 fa
by teeray 2y 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.
- pjmlp 2y agoTraditionally linters are workarounds for features that should be in the language. Instead we pack best practices in an external tool.