Comment Re:You can use C++ one way or another (Score 1) 160
That is both its biggest strength and its biggest weakness. There have been many versions over time with many ways to do things. It has almost infinite flexibility which means quite a bit of complexity. There are quite a few ways to not just shoot your own foot, but blow it completely off.
You can start a new project from scratch and if you stick to a specific subset of C++, you can create safe code. That relies on someone knowing what subset they should be using, which could be difficult for newcomers to the language. If you're working in an existing code base, there could be a minefield already in the code.
A language like rust has the advantage of starting from scratch, so there isn't an old unsafe way to do things that they need to remain compatible with. They can make the defaults safe so that it is harder to get into unsafe territory. Of course they have the same issue as C++ in that they need to work with C code, which then throws some of that safety out the window.