|
Skip to content | https://belaycpp.com/category/good-practice/#content |
| https://belaycpp.com/ |
| Belay the C++ | https://belaycpp.com/ |
| Home | https://belaycpp.com/ |
| Articles | https://belaycpp.com/blog/ |
| All articles | https://belaycpp.com/blog/ |
| History of C++ | https://belaycpp.com/blog/history-of-c-miniseries/ |
| Team | https://belaycpp.com/team/ |
| Contact | https://belaycpp.com/contact/ |
| About | https://belaycpp.com/about/ |
| 🇫🇷 Français | https://fr.belaycpp.com/ |
| a = b = c, a strange consequence of operator associativity | https://belaycpp.com/2022/04/28/a-b-c-a-strange-consequence-of-operator-associativity/ |
| How to quantify technical debt inflation | https://belaycpp.com/2022/04/06/how-to-quantify-technical-debt-inflation/ |
| Who owns the memory? | https://belaycpp.com/2022/03/17/who-owns-the-memory/ |
| 3 interesting behaviors of C++ casts | https://belaycpp.com/2022/03/02/3-interesting-behaviors-of-c-casts/ |
| Constant references are not always your friends | https://belaycpp.com/2022/02/15/constant-references-are-not-always-your-friends/ |
| Bad practice | https://belaycpp.com/category/bad-practice/ |
| Code | https://belaycpp.com/category/code/ |
| Dilemma | https://belaycpp.com/category/dilemma/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| History of C++ | https://belaycpp.com/category/history-of-c/ |
| Meta | https://belaycpp.com/category/meta/ |
| UFO | https://belaycpp.com/category/ufo/ |
| I don’t know which container to use (and at this point I’m too afraid to ask) | https://belaycpp.com/2022/02/02/i-dont-know-which-container-to-use-and-at-this-point-im-too-afraid-to-ask/ |
| 1 | https://belaycpp.com/category/good-practice/#notes |
| 2 | https://belaycpp.com/category/good-practice/#notes |
| 3 | https://belaycpp.com/category/good-practice/#notes |
| 4 | https://belaycpp.com/category/good-practice/#notes |
| Joe Gibson’s data structure selection flowchart | https://github.com/gibsjose/cpp-cheat-sheet/blob/master/General/Data%20Structures%20Selection.png |
| Pareto’s principle | https://en.wikipedia.org/wiki/Pareto_principle |
| cpp-cheat-sheet/Data Structures and Algorithms.md at master · gibsjose/cpp-cheat-sheet · GitHub | https://github.com/gibsjose/cpp-cheat-sheet/blob/master/Data%20Structures%20and%20Algorithms.md |
| C++ Cheat Sheets & Infographics | hacking C++ (hackingcpp.com) | https://hackingcpp.com/cpp/cheat_sheets.html#hfold3a |
| GitHub – gibsjose/cpp-cheat-sheet: C++ Syntax, Data Structures, and Algorithms Cheat Sheet | https://github.com/gibsjose/cpp-cheat-sheet |
| February 2, 2022 | https://belaycpp.com/2022/02/02/i-dont-know-which-container-to-use-and-at-this-point-im-too-afraid-to-ask/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| Peter Fordham (Editor) | https://belaycpp.com/tag/peter-fordham-editor/ |
| 2 Comments on I don’t know which container to use (and at this point I’m too afraid to ask) | https://belaycpp.com/2022/02/02/i-dont-know-which-container-to-use-and-at-this-point-im-too-afraid-to-ask/#comments |
| Prettier switch-cases | https://belaycpp.com/2021/11/30/prettier-switch-cases/ |
| Extending and Simplifying C++: Thoughts on Pattern Matching using `is` and `as` – Herb Sutter – YouTube | https://www.youtube.com/watch?v=raB_289NxBk |
| Sutter’s Mill – Herb Sutter on software development | https://herbsutter.com/ |
| 1 | https://belaycpp.com/category/good-practice/#notes |
| November 30, 2021 | https://belaycpp.com/2021/11/30/prettier-switch-cases/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| Peter Fordham (Editor) | https://belaycpp.com/tag/peter-fordham-editor/ |
| 5 Comments on Prettier switch-cases | https://belaycpp.com/2021/11/30/prettier-switch-cases/#comments |
| Best ways to convert an enum to a string | https://belaycpp.com/2021/08/24/best-ways-to-convert-an-enum-to-a-string/ |
| GitHub – Neargye/magic_enum: Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code | https://github.com/Neargye/magic_enum |
| magic_enum/limitations.md at master · Neargye/magic_enum · GitHub | https://github.com/Neargye/magic_enum/blob/master/doc/limitations.md |
| August 24, 2021 | https://belaycpp.com/2021/08/24/best-ways-to-convert-an-enum-to-a-string/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 7 Comments on Best ways to convert an enum to a string | https://belaycpp.com/2021/08/24/best-ways-to-convert-an-enum-to-a-string/#comments |
| How to choose between a setter and a reference-getter? | https://belaycpp.com/2021/08/05/how-to-choose-between-a-setter-and-a-reference-getter/ |
| August 5, 2021 | https://belaycpp.com/2021/08/05/how-to-choose-between-a-setter-and-a-reference-getter/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 2 Comments on How to choose between a setter and a reference-getter? | https://belaycpp.com/2021/08/05/how-to-choose-between-a-setter-and-a-reference-getter/#comments |
| Should every variable be const by default? | https://belaycpp.com/2021/06/30/should-every-variable-be-const-by-default/ |
| Jason Turner: Practical Performance Practices – YouTube | https://www.youtube.com/watch?v=lNnBExDoNSQ |
| What does “Fred const* p” mean?, C++ FAQ (parashift.com) | http://www.parashift.com/c++-faq-lite/ptr-to-const.html |
| GotW #6: Const-Correctness | http://www.gotw.ca/gotw/006.htm |
| Rust Handbook | https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html |
| June 30, 2021 | https://belaycpp.com/2021/06/30/should-every-variable-be-const-by-default/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 10 Comments on Should every variable be const by default? | https://belaycpp.com/2021/06/30/should-every-variable-be-const-by-default/#comments |
| Exceptions are just fancy gotos | https://belaycpp.com/2021/06/16/exceptions-are-just-fancy-gotos/ |
| Go To Statement Considered Harmful (arizona.edu) | http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html |
| June 16, 2021 | https://belaycpp.com/2021/06/16/exceptions-are-just-fancy-gotos/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 3 Comments on Exceptions are just fancy gotos | https://belaycpp.com/2021/06/16/exceptions-are-just-fancy-gotos/#comments |
| Dealing with integer overflows | https://belaycpp.com/2021/06/08/dealing-with-integer-overflows/ |
| UndefinedBehaviorSanitizer — Clang 13 documentation (llvm.org) | https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html |
| GCC Undefined Behavior Sanitizer – ubsan | Red Hat Developer | https://developers.redhat.com/blog/2014/10/16/gcc-undefined-behavior-sanitizer-ubsan |
| June 8, 2021 | https://belaycpp.com/2021/06/08/dealing-with-integer-overflows/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 2 Comments on Dealing with integer overflows | https://belaycpp.com/2021/06/08/dealing-with-integer-overflows/#comments |
|
Proudly powered by WordPress | https://wordpress.org/ |