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

Any particular reason for linking to a primer on C++ pointers, instead of C pointers?

It's rare that you'll need to use pointers that much in C++ (compared to C where they're definitive and essential), and type casting is stricter in C++.

I also laughed a little at the Joel Spolsky bit. But overall, sound advice. It beats most of the empty fluff that the "learn to code" movement is producing.



Lack of pointers in C++ has been the bane of my C++ experience.


Why? The reason you don't really see them in most well written C++ code is because you don't need them. If/when you do, you have them. What's the problem?


What do you mean by "Lack of pointers in C++"? C++ has most of the pointer stuff from C (except for some unsafe casts).


You should avoid it though.




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

Search: