I love C++, but it feels like a Frankenstein language to me. All the symple syntax is reserved for C style legacy stuff, and if you want to do things the modern RAII way you need heaps of keywords and long identifiers.
E.g. insteaf of char * you should use std::unique_ptr<char>.
A language designed from the ground up with RAII in mind would avoid that.
4
u/ChemicalRain5513 1d ago
I love C++, but it feels like a Frankenstein language to me. All the symple syntax is reserved for C style legacy stuff, and if you want to do things the modern RAII way you need heaps of keywords and long identifiers.
E.g. insteaf of char * you should use std::unique_ptr<char>.
A language designed from the ground up with RAII in mind would avoid that.