4 ms·
"With great power comes great responsibility." Without a good set of C++ best practices, the average C++ programmer probably writes crappier code, than, say, th
by hy3lxs 17y ago
"With great power comes great responsibility." Without a good set of C++ best practices, the average C++ programmer probably writes crappier code, than, say, the median Python programmer. So it's not a stretch to wonder if the majority of the C++ code that exists might not have been better off in a different language.
As for a serious industry where C++ is not going away soon, virtually all major game titles, even on consoles with restrictive memory limitations, are written in C++ for performance reasons.
What language drives the inner loops at Google? C++. Google is famous for being driven by best practices, so if you're doing a lot of C++ coding, you might want to take a look at the Google C++ style guide.
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...