Re: [go-nuts] Re: The "declared and not used" error

2017-12-01 Thread Ian Lance Taylor
On Fri, Dec 1, 2017 at 8:38 AM, wrote: > > 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

[go-nuts] Re: The "declared and not used" error

2017-12-01 Thread peter . leon
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 b