Hacker News new | ask | show | jobs
by swaroop 3692 days ago
The new C++ Core Guidelines & Guidelines Support Library and related tools are interesting efforts to specifically solve those problems.
1 comments

If the issue is that "C++ compiles stuff that may or may not work at all" then I don't see how those guidelines will help the situation. A C++ project may or may not follow those guidelines and then we're back where we started.
My understanding is that the tools are the answer - it's a linter that must be run before landing/merging. See https://youtu.be/hEx5DNLWGgA for a demo of such tools.
Tools are just band-aids over an unsafe type system, and they are all too easy to ignore or never use them in the first place.
It depends on the community. See gofmt & gometalinter in the golang community.