News for hackers. Stuff that matters.
Re:CppCon 2022 by interroboink on Saturday September 17, 2022 @05:46PM (#32881912)
> doesn't mean you should start using RAII

I agree with your overall point, but I feel like RAII is practically the key feature that C++ provides over C (:

Or at any rate, I wouldn't say it is anything to do with "modern C++". It was there from the beginning, and C++'s object lifetime rules are pretty core to the language IMO.

I'm curious, since you phrased it that way: what C++ feature(s) do you tend to reach for first, when moving from C to C++?

There are no comments on this comment yet.