3 ms·
Statements like these only serve to polarize people, not encourage them to write safer code / use safer languages. There are many places where C/C++ (and many
by Andoryuuta 4y ago
Statements like these only serve to polarize people, not encourage them to write safer code / use safer languages.
There are many places where C/C++ (and many other non-Rust languages) are still used, and where it would not be feasible at this time to fully rewrite them in rust.
Modern resources like the OP posted should be encouraged, as they actively teach about proper use of the language, and foot-guns to avoid (e.g. don't use c-style strings + strcpy, use smart pointers, etc).
- okaleniuk 4y agoProper use of the language is what https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines is for. Before that, there were HICPP, JSF, MISRA, ISO/IEC TR 24772, NUREG 6463 etc. I have been writing in C++ for most of my professional career, I wrote company-wide guidelines, I still teach and consult. I absolutely agree that C++ is not going anywhere anytime soon. That being said, so is smoking. We can't just tell people not to smoke anymore, we live in a free society. But we really shouldn't drag more people in.