News for hackers. Stuff that matters.
Re:Go is Not Python by betterwaytodoit on Thursday June 22, 2017 @06:36PM (#14615842)
Here's a more idiomatic translation of the Python code to Go, and there's no surprise to how the code behaves:

https://play.golang.org/p/rpqvVDR9v8

Re:Go is Not Python by sfilargi on Thursday June 22, 2017 @06:43PM (#14615885)
Nope, that's not what the OP is trying to do.

eg:

https://play.golang.org/p/kFjXSlf5fw

Re:Go is Not Python by s_ngularity on Thursday June 22, 2017 @06:39PM (#14615863)
I was scratching my head looking at the authors code wondering why he didn't just write it exactly how you did.

Although technically he was trying to get a pointer/reference to the student in the array, not a copy of its value