| ▲ | ErroneousBosh a day ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Golang is exactly the same. It's extremely annoying until it's suddenly very useful and has prevented you doing something unintended. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | bluecalm a day ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
I fail to see how a warning doesn't achieve the same thing while allowing you to iterate faster. Unless you're working with barbarians who commit code that complies with warnings to your repo and there is 0 discipline to stop them. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | SoKamil a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
And what is the unintended thing that happens when you have unused variable? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||