Hacker News new | past | comments | ask | show | jobs | submit login
10 most voted C++ best practices (codergears.com)
11 points by cppdesign on Aug 13, 2015 | hide | past | favorite | 1 comment



Over half of these best practices involve keeping some code-level metric low, and they illustrate my position that, while coding standards and style guidelines can be useful, you cannot expect them to transform the way your organization writes code.

This is because they do not concern themselves with the issues that lead programmers into writing unnecessarily complex code, and consequently offer no guidance into how to address the root causes of the problem. If you take a programmer with a tendency to write 'large' code and insist that he follows these guidelines, you are likely to end up with a large number of smaller classes with unusual semantics and interdependencies.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: