5 ms·
He wants "x is declared but never used" to be an error that halts compilation. Go's philosophy on this[1] is "if it's worth complaining about, it's worth fixing
by michaelfairley 14y ago
He wants "x is declared but never used" to be an error that halts compilation. Go's philosophy on this[1] is "if it's worth complaining about, it's worth fixing in the code."
1: http://golang.org/doc/go_faq.html#unused_variables_and_imports http://golang.org/doc/go_faq.html#unused_variables_and_impor...