Re:Ask HN: Learn C++11 or Rust in 2022?
by junon on Tuesday May 03, 2022 @06:02AM
(#31246499)
Of course we do. You still need to know how pointers work to use RAII effectively, though.
[ Parent
| on HN ]
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.