fenbf / cppstories-discussions

4 stars 1 forks source link

2022/embracing-modern-cpp-book/ #88

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Embracing Modern C++ Safely, Book Review - C++ Stories

C++11 has been around for around 11 years and C++14 for 8. From my experience, I see that even today, many companies struggle to use those standards in production in the most efficient way. As always, with new stuff came benefits, risks, and increased learning effort. Fortunately, with a new book written by top C++ Experts, we have a solid guide on what is safe and what might be problematic in Modern C++.

https://www.cppstories.com/2022/embracing-modern-cpp-book/

2kaud commented 2 years ago

IMO this is a great book re in-depth details of C++11/14 language (note that it doesn't include the standard library). It's not an 'easy' read and is definitely not a 'teach C++' book - even for someone who knows C++98. I would consider it essential reading for any professional C++ programmer. Some of it's contents made me really think eg. why final is considered 'unsafe'.

Highly recommended.

2kaud commented 2 years ago

"What other books about Modern C++ are worth reading?"

1) Scott Meyers - Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14

https://www.amazon.co.uk/Effective-Modern-Specific-Ways-Improve/dp/1491903996/ref=sr_1_1

Note that there have been several 'erratas' issued since the publication. See https://www.aristeia.com/BookErrata/emc++-errata.html

2) Stephan Roth - Clean C++20: Sustainable Software Development Patterns and Best Practices

https://www.amazon.co.uk/Clean-20-Sustainable-Development-Practices-dp-1484259483/dp/1484259483/ref=dp_ob_image_bk

3) Robert Seacord - Secure Coding in C and C++ 2nd Edition (only covers C++11)

https://www.amazon.co.uk/Secure-Coding-Software-Engineering-Paperback/dp/0321822137/ref=sr_1_6

4) Marc Gregoire - Professional C++ 5th Edition (covers C++20) https://www.amazon.co.uk/Professional-C-Marc-Gregoire/dp/1119695406/ref=sr_1_4

fenbf commented 2 years ago

See more than 150 comments at Hacker News: https://news.ycombinator.com/item?id=31559118