Re:Modern C++ Won't Save Us (2019)
by jvanderbot on Monday April 26, 2021 @11:28AM
(#26943550)
This is great stuff. Thanks!
I sympathize that compilers do not do "enough" of this for us. But there's really no substitute for a good code standard and developer culture focused on quality.
Unfortunely C++ inherited the perfomance focused culture from C and sees such kind of tooling as needless bloat, only required for developers that need an extra hand while coding.
https://isocpp.org/files/papers/CppDevSurvey-2021-04-summary...
If you check other well known survey among C++ community you will see similar results in static analysis tooling and coding standards adoption.
So while, contrary to the C community, WG 21 members do strive to push the code quality forward and publish tooling that helps to enforce it, the adoption could be much higher than it actually is on the field.
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines