Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Learn Go: Hand-crafted Go exercises and examples. Parent comment
So, pass small things ByVal (int, float), it's on the Stack.
Pass big things (Object) ByRef cause they're in the Heap.
Then I start saying pointer more than ByRef and the link is made.
Then on to ByRef/Pointer to how that then manipulate the shared data.
Once that basic is done, we refine/clarify around what Pointer really is, and also it's syntax.
So, pass small things ByVal (int, float), it's on the Stack.
Pass big things (Object) ByRef cause they're in the Heap.
Then I start saying pointer more than ByRef and the link is made.
Then on to ByRef/Pointer to how that then manipulate the shared data.
Once that basic is done, we refine/clarify around what Pointer really is, and also it's syntax.