Hacker News new | ask | show | jobs
by HarHarVeryFunny 1366 days ago
It's great to have a compiler give useful diagnostics, but it has to be said that's mostly a function of the compiler vs language.

LLVM-based compilers such as the rust compiler and Clang (C++) tend to be way better than g++ in this regard, although Clang competition has forced g++ to be a little better in recent years.