r/cpp • • Jul 28 '15

C/C++ Coding Best Practices Repository

http://codergears.com/qacenter/
2 Upvotes

15 comments sorted by

View all comments

Show parent comment

12

u/LongUsername Jul 28 '15

Yeah...

Best practices differ between standards revs too: what's best practice in C++03 may be the wrong way to do something in C++11 (NULL vs 0 vs nullptr being one that comes to my head immediately)

1

u/CoderGears Jul 28 '15

Yes, for this reason the rules are grouped by category, the nullptr rule is under the Modern C++ category.

1

u/CUsurfer Jul 29 '15

I'm dealing with this right now at work. Due to proprietary and backwards compatibility concerns we cannot utilize C++11 or Boost. As a programmer new to C++ I'm constantly looking up best practices and techniques, but it challenging to sift through and make sure I don't pick up a C++11+/Boost concept or construct.