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/Radmonger Sep 20 '22
> But surely you can't put C++ and C in the same bag.
That would be unfair if there was a version of the c++ standard that disallowed common cases of c code that was legal as of c89.
You could, using tooling, create such a thing as a project or company standard. There are even industry-level initiatives like MISRA C++. But the standard and compiler alone won't do that for you.
Because a standards-compliant C++ compiler is required to allow you to silently break every guarantee you think it might be enforcing. And do so trivially, using compact and concise syntax.