Found in 2 comments on Hacker News
xmcqdpt2 · 2024-03-06 · Original thread
That's because you aren't using Modern C++. You can write Modern C++ safely, you just need to use the right set of features and not the other ones.

Here is a short read on this topic,

https://www.amazon.ca/Embracing-Modern-Safely-John-Lakos/dp/...

It's only 2661 pages. Yes, that is almost 3x longer than The Rust Programming Language, 2nd Ed.

pjmlp · 2022-10-30 · Original thread
Yes, although Scott Meyer's is now retired and his book series have stopped in C++14.

Some other books on this front,

"Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code"

https://www.amazon.com/-/en/dp/0137647840

"Embracing Modern C++ Safely"

https://www.amazon.com/dp/0137380356

Also with clion and Visual Studio, it is possible to write code while having the static analysers ping back into the core guidelines.

Fresh book recommendations delivered straight to your inbox every Thursday.