On Fri, Dec 9, 2022 at 5:38 AM Marcello H <marcel...@gmail.com> wrote:
>
> Since we have great linters, I wonder why it seems that the Go source itself 
> isn't linted?
> (Because when I do lint it, I see a lot of suggested improvement)

1) Linters are optional and opinionated, and it kind of matters which
linter you mean.

2) Changing working code to make it cleaner should only be done if the
change makes the code significantly better in some way (faster, easier
to read, etc.).  It shouldn't be done just to satisfy a linter.  The
most likely effect of changing working code is to break such that it
no longer works.

Ian

-- 
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/CAOyqgcVrKPiGphy7N0b9A3%2BUGC4KtZpX9%2B1q9WOFxeSs2N-DGA%40mail.gmail.com.

Reply via email to