5 ms·
> requires you to run an extra tool And the more I work with Go, the less I understand why warnings were not added to the compiler. Essentially instead of havi
by qezz 7mo ago
> requires you to run an extra tool
And the more I work with Go, the less I understand why warnings were not added to the compiler. Essentially instead of having them in the compiler itself, one needs to run a tool, which will have much smaller user base.
But anyway, in Go, it's sometimes fine to have both non-nil error and a result, e.g. the notorious EOF error.