News for hackers. Stuff that matters.
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.
Re:Ask HN: Learn C++11 or Rust in 2022? by pjmlp on Tuesday May 03, 2022 @06:23AM (#31246635)
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.

Re:Ask HN: Learn C++11 or Rust in 2022? by junon on Wednesday May 04, 2022 @02:20PM (#31264013)
What did being pedantic prove here?
Re:Ask HN: Learn C++11 or Rust in 2022? by ncmncm on Thursday May 05, 2022 @05:22PM (#31278558)
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.