Go will throw an error when a variable isnt 'used' ( which is often the 
case when developing ), but will not throw errors if the code has unnecessary 
loops, logical errors, or other more serious problems. This does not make 
the code better, nor the coder magically reflect on how their code can be 
improved. It just makes development more annoying when you have to go back 
and forward and comment and change code just to please a compiler. We can 
all agree that  a := 0 not being used at the moment is much less of a 
problem than slow sloppy code that Go deems as perfectly OK. If anything, a 
var not being used should give me a Warning so im aware of the problem. It 
almost seems as if Go was developed by non-developers. 




-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to