Hacker News new | ask | show | jobs
by junon 1511 days ago
Of course we do. You still need to know how pointers work to use RAII effectively, though.
1 comments

Not at all, because RAII is about constructors/destructors, and not at all about pointers.

Heap allocated data is one special case of OS resources that can be managed by constructor/destructor pairs.

What did being pedantic prove here?
The thread started with you insisting a C-level conception of pointers is essential to coding C++, which turns out to be false.

Learning C first is a very bad way to learn C++. One can pick up pointers later, and asm blocks after that.