4 ms·
"endlessly varying kinds of special pointers" haha that made me laugh thanks! I had never noticed it before! TBH, although Bjarne in his most recent book heart
by 72deluxe 13y ago
"endlessly varying kinds of special pointers" haha that made me laugh thanks! I had never noticed it before!
TBH, although Bjarne in his most recent book heartily recommends using references everywhere and smart pointers, I seem to be throwing pointers around with no problems.
The RAII approach and clean up in the destructor is the safest way to do things in C++, and the tidiest!
I would have great difficulty moving over to C to think of a way to write a program, so it is comforting to find someone who would struggle to move to C++ from C. They really are different beasts.
Again, thanks for the laugh haha