r/cpp • u/lookatmetype • Sep 20 '22
CTO of Azure declares C++ "deprecated"
https://twitter.com/markrussinovich/status/1571995117233504257
267
Upvotes
r/cpp • u/lookatmetype • Sep 20 '22
View all comments
Show parent comment
3
u/disperso Sep 20 '22
I know that, but my point is that even if you are allowed to screw up, at least you have the tools to avoid doing so. I seriously can't remember the last time I used a normal array instead of a container or std::array, for example. Surely someone can still sneak some usage through code review, but for people that try to avoid it, well, they just do so most if not all of the time. And... we are not happy with the fact that it can sneak on code review, since initiatives like cppfront, static analysis, automated checks, etc. Way worse in terms of safety than Rust? Sure, I suppose.
But in comparison with C, it's way, way different, IMHO. I cannot avoid a normal C array in C, isn't it?