r/cpp • • Jul 28 '15

C/C++ Coding Best Practices Repository

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

15 comments sorted by

View all comments

38

u/STL MSVC STL Dev Jul 28 '15

"C/C++"? Seriously?

No.

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.