| ▲ | treyd 2 days ago | ||||||||||||||||
You're not supposed to question the wisdom of the Go developers. They had a very good reason for making unused variables be an unconfigurable hard error, and they don't need to rigorously justify it. | |||||||||||||||||
| ▲ | FieryMechanic 2 days ago | parent [-] | ||||||||||||||||
Warnings are often ignored by developers unless you specifically force warnings to be compile errors (you can do this in most compiler). I work on TypeScript/C# code-bases and unless you force people to tidy up unused imports/using and variables, people will just leave them there. This BTW can cause issues with dependency chains and cause odd compile issues as a result. | |||||||||||||||||
| |||||||||||||||||