Y
Hacker News
new
|
ask
|
show
|
jobs
by
kccqzy
1312 days ago
That's not a deeper lesson. A deeper lesson is to understand
where
the pointer points to and then decide accordingly.
1 comments
Beltalowda
1312 days ago
That is pretty much what I said, except phrased different.
link
throwaway894345
1312 days ago
It sounded to me like you were saying "avoid pointers by default" (bad advice IMO) rather than "if it matters, verify whether the pointer escapes" (good advice IMO).
link