Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not a deeper lesson. A deeper lesson is to understand where the pointer points to and then decide accordingly.


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: