best_practices
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
best_practices [2016/03/14 12:31] – jmgr | best_practices [2023/04/25 16:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== Tips & tricks ==== | ==== Tips & tricks ==== | ||
- | === Always | + | === Always |
<code cpp> | <code cpp> | ||
Line 14: | Line 14: | ||
// Good | // Good | ||
int myVariable{}; | int myVariable{}; | ||
- | std::string myString; // std::string is not a primitive variable, so initialisation | + | std::string myString; // std::string is not a primitive variable, so initialization |
</ | </ | ||
best_practices.1457958661.txt.gz · Last modified: 2023/04/25 16:52 (external edit)