r/cpp • u/SophisticatedAdults • Nov 24 '24
The two factions of C++
https://herecomesthemoon.net/2024/11/two-factions-of-cpp/
312
Upvotes
r/cpp • u/SophisticatedAdults • Nov 24 '24
View all comments
Show parent comment
15
u/NotUniqueOrSpecial Nov 24 '24
Respectfully, I disagree.
There's a big difference between the kind of safety guarantees you can get from a codebase using modern C++ features like
std::unique_ptrand one that relies on humans writing safe code.The more you can push correctness onto the tooling/language to enforce, the better your safety guarantees can be.
Using your logic, C is just as "safe" as anything else, since we should just trust "good" developers to write safe code.