4 ms·
So first, C++ in a small codebase with a small team, is a very powerful language that really does produce the best code. That's what you want in a professional,
by jarjoura 6y ago
So first, C++ in a small codebase with a small team, is a very powerful language that really does produce the best code. That's what you want in a professional, top tier code base and that's what you get.
Unfortunately, once a project grows to many developers, many of whom have varying levels of experience, it's just too easy to write bad C++ that becomes impossible to debug. I've been using it for a decade and I swear I barely scratch the surface of its features.
Lastly, and this one is the most annoying, C++ also has cryptic error messages that almost always never mean what they suggest. You'll learn to understand them over time and decode their meanings, but at first glance you'll spend long days hunting for the wrong issue.
- msla 6y ago> So first, C++ in a small codebase with a small team, is a very powerful language that really does produce the best code. "Best" is such an undefined term it's word-noise here. "Best" in terms of end-user extensibility? "Best" in terms of debuggability? "Best" in terms of having a single binary which can be copied and run without regard for machine architecture and OS?
- secondcoming 6y agoIt's quite obvious that the poster was referring to codegen.
- msla 6y agoOf course not.
- deeringc 6y agoC++ error messages have been gradually improving over time. Clang really raised the bar when it came along, and the other two compilers have been catching up. Concepts in C++20 will really help to further improve things for template errors.
- jnxx 6y ago> So first, C++ in a small codebase with a small team, is a very powerful language that really does produce the best code. Does it? https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/rust-gpp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...