3 ms·
As someone who has never used go, the third example feels counter-intuitive to me. I would expect a, b := 4, 2; to be equivalent to a := 4; b := 2; is there a r
by yissp 5y ago
As someone who has never used go, the third example feels counter-intuitive to me. I would expect a, b := 4, 2; to be equivalent to a := 4; b := 2; is there a reason it was done this way?
- jimktrains2 5y agoIt is as you say, however, a and b had already been declared, which is the error.