Indeed. There are quite a few linters out there which object to good idiomatic code and which would fail the Go Standard Library.
And too many people are happy to pollute their codebase with extraneous noise, rather than fixing the linters, or using just using high quality linters (such as go vet, and staticcheck). On Friday, 10 December 2021 at 07:21:56 UTC Jason E. Aten wrote: > 6 is probably because of the linters that complain if you don't. > > >> >> >> 6) Code where almost every line prefixed by `_, _ =` >> and the underscores won't go away when you wipe your screen >> >> >> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6ef1803d-2d35-4962-ac72-a263f2effaabn%40googlegroups.com.