C++ tip 14: Don't return a reference when you must return an object

C++ tip 14: Don't return a reference when you must return an object

Learn when you should you return an object itself and not a reference to an object. 

C++ tip 13: Prefer pass-by-reference-to-const to pass-by-value

C++ tip 13: Prefer pass-by-reference-to-const to pass-by-value

Learn how to avoid unnecessary constructors/destructors calls and how to fix the slicing problem by passing-by-reference-to-const instead of passing-by-value.

How to improve your coding skills- Scribble first, code second

This is a nice tip that can help you improve your coding skills, especially if you are a visual learner.

C++ tip 12: Make interfaces "Easy to use correctly" and "Hard to use incorrectly"

C++ tip 12: Make interfaces "Easy to use correctly" and "Hard to use incorrectly"

If you are developing a library, engine, etc, you need to make sure that your users won't use your API interface incorrectly by making it HARD to use it incorrectly.

C++ tip 11: Store newed objects in smart pointers in standalone statements

C++ tip 11: Store newed objects in smart pointers in standalone statements

Did you know that unlike other languages, C++ can decide the evaluation order of function parameters? Not being aware of this feature may produce memory leaks.