I’m so sick of people beating up on C++. The C++ community is in a moral panic to explain why it’s not as safe as rust and coming up with a ten step plan to fix all of the things wrong with it, but the reality is that it’s users like this that give it a bad rep. The same program in idiomatic modern C++ is on average slightly faster than C, significantly safer than C, and usually shorter than C. C++ does not need to apologize for its sins. C++ exceptions are not the end of the world. Templates since C++20 with concepts are ergonomically nicer to use than Java generics (and using them generously can make your code safer), and above all else, it’s a universal language that’s worth investing time in. Mastering C++, or at least attempting to in earnest, will make you a better programmer no matter what language you use for work.
/rant from a C developer that misses C++ every day