C++ Core Guidelines Explained: Best Practices for Modern C++ (Rough Cuts)
- Добавил: literator
- Дата: 18-12-2021, 17:46
- Комментариев: 0
![C++ Core Guidelines Explained: Best Practices for Modern C++ (Rough Cuts)](/uploads/posts/2021-12/1639838818_7351_c___cor__guid_lin_s__xplain_d__b_st_practic_s_for_mod_rn_c____rough_cuts_.jpg)
Автор: Rainer Grimm
Издательство:Addison-Wesley Professional/Pearson Education
Год: 2022
Страниц: 640
Язык: английский
Формат: epub
Размер: 17.8 MB
The official C++ Core Guidelines provide consistent best practices for writing outstanding modern C++ code, but they aren't organized for easy usage by working developers. In C++ Core Guidelines Explained, expert C++ instructor Rainer Grimm has distilled them to their essence, removing esoterica, sharing new insights and context, and presenting well-tested examples from his own training courses.
C++ is, in particular for beginners, an inherently complex language. Mainly, because the problems we want to solve are inherently complicated and often complex as well. When you teach C++, you should provide a set of rules that work for your participants in at least 95% of all use-cases. I think about rules such as:
- let the compiler deduce your types,
- initialize with curly braces,
- prefer tasks over threads,
- and use smart pointers instead of raw pointers.
I teach rules such as the ones mentioned in my seminars. We need a canon of best practices or rules in C ++. These rules should be formulated positively and not negatively. They should declare how you should write code and not what should be avoided.
Here is my challenge: The C++ Core Guidelines have about 600 pages and about 500 guidelines, most of the time, just called rules. These rules are designed with static analysis in mind. Many of the rules are lifesaving for a professional C++ software developer, but also many of the rules are quite special, often incomplete or redundant, and sometimes the rules even contradict. My challenge is to boil these very precious rules down to a readable, even entertaining story of about 300 pages, removing the esoteric stuff and filling the gaps if necessary. In the end, the book should contain the rules that are mandatory for a professional software developer in C++.
Скачать C++ Core Guidelines Explained: Best Practices for Modern C++ (Rough Cuts)
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.