On Friday, 18 November 2016 10:30:45 UTC-5, Ian Lance Taylor wrote:
>
> I think the book is trying to stress that it declares out but does not
> declare err. I agree that the sentence seems to imply that it does
> not assign a value to out, but in fact it does both declare out and
> assign a
I think the sentence is supposed to read something like this:
"The second declares out (and assigns to it as before) but only assigns
a value to the existing err variable (without declaring it)"
On Fri, Nov 18, 2016, at 03:02 PM, Terry McKenna wrote:
> Hi Guys,
>
> I am reading "The Go
Hi Guys,
I am reading "The Go Programming Language": Donovan, Kernighan (pg.31):
"One subtle but important point: a short variable declaration does not
necessarily declare all the variables on the its left-hand side. If some of
them were already declared in the same lexical block then then the