Re:Go runtime: 4 years later
by peterashford on Wednesday September 28, 2022 @01:27AM
(#33004535)
they could have had a flag for people who prefer those issues to be warnings. for me, they slow my debugging down a great deal
But, I'm not sure that is even the primary benefit. The primary benefit is that you won't be incentivized to leave unused imports and variables to litter your code, as I see happen all the time in languages that aren't so strict. The Go team has even stated that they decided there would be no warnings because they've learned that warnings get ignored.