5 ms·
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
by vezzy-fnord 13y ago
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.
- joshguthrie 13y agoLack of pointers in C++ has been the bane of my C++ experience.
- bloodorange 13y agoWhat do you mean by "Lack of pointers in C++"? C++ has most of the pointer stuff from C (except for some unsafe casts).
- pantalaimon 13y agoYou should avoid it though.
- EpicEng 13y agoWhy? 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?