2 ms·
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: Wh
by questhrowaway 9y ago
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?