News for hackers. Stuff that matters.
Re:Go is Not Python by questhrowaway on Thursday June 22, 2017 @06:41PM (#14615873)
I don't know Python or Go, but both examples seem _wrong_.

Python: How is `Fred` available to be printed in the Python example, is not it out of scope?

Go: Why use `var fredPtr *Student`? What's the point? Can not use `var fredPtr Student` and the set `fredPtr = student` in the loop?

There are no comments on this comment yet.