C++ tip 15: Delay construction of objects until they are needed

C++ tip 15: Delay construction of objects until they are needed

Don't call an object constructor unless you are sure you will use it. Delay its construction as much as possible.

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.