News for hackers. Stuff that matters.
Re:Much less than, Much greater than symbols by yissp on Sunday September 12, 2021 @07:52AM (#28500337)
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?
Re:Much less than, Much greater than symbols by jimktrains2 on Sunday September 12, 2021 @09:00AM (#28500758)
It is as you say, however, a and b had already been declared, which is the error.