News for hackers. Stuff that matters.
Re:Go is Not Python by majewsky on Friday June 23, 2017 @04:43AM (#14617797)
Yes. A copy into type `Student` will copy each field, whereas `*Student` only takes the address. (Which would not be a problem if the loop didn't reuse the memory slot for the loop variable.)

Also, indent with two spaces to get code formatting. HN formatting is (sadly) not Markdown.

There are no comments on this comment yet.