Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go is Not Python.
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.
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?