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

That is pretty much what I said, except phrased different.
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).