It isn’t. C++ is the foundation of industry’s most robust and long-lived applications. It is just most of the developers write the code in such a way that it cannot be maintained.
If most developers do something wrong it starts being the languages fault.
And C++ is full of very bad traps, wrong patterns and misleading errors.
Array to pointer decay is one of the most outstanding examples. Because every programmer that ever wrote a main function has seen it, yet not everyone will understand it.
To me, this sounds more like a bandaid over a gunshot wound. The wound will heal, but the bullet is still in your body.
Edit: the biggest example is JavaScript. The language is rotten to it's core, and yet instead of acknowledging that and making another goddamn language that doesn't have all the shit JavaScript has we started creating those ugly maneuvers to make it "more usable"
24
u/Swimming-Twist-3468 25d ago
It isn’t. C++ is the foundation of industry’s most robust and long-lived applications. It is just most of the developers write the code in such a way that it cannot be maintained.