HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code

J. Davidson, Kate Gregory · 1 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code" by J. Davidson, Kate Gregory.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
Discover the Beauty of Modern C++ " Beautiful C++ presents the C++ Core Guidelines from a developer's point of view with an emphasis on what benefits can be obtained from following the rules and what nightmares can result from ignoring them. For true geeks, it is an easy and entertaining read. For most software developers, it offers something new and useful." --Bjarne Stroustrup, inventor of C++ and co-editor of the C++ Core Guidelines Writing great C++ code needn't be difficult. The C++ Core Guidelines can help every C++ developer design and write C++ programs that are exceptionally reliable, efficient, and well-performing. But the Guidelines are so jam-packed with excellent advice that it's hard to know where to start. Start here, with Beautiful C++.Expert C++ programmers Guy Davidson and Kate Gregory identify 30 Core Guidelines you'll find especially valuable and offer detailed practical knowledge for improving your C++ style. For easy reference, this book is structured to align closely with the official C++ Core Guidelines website.Throughout, Davidson and Gregory offer useful conceptual insights and expert sample code, illuminate proven ways to use both new and longstanding language features more successfully, and show how to write programs that are more robust and performant by default.Avoid "bikeshedding": stop wasting valuable time on triviaDon't hurt yourself by writing code that will cause problems laterKnow which legacy features to avoid and the modern features to use insteadUse newer features properly, to get their benefits without creating new problemsDefault to higher-quality code that's statically type-safe, leak resistant, and easier to evolveUse the Core Guidelines with any modern C++ version: C++20, C++17, C++14, or C++11There's something here to improve virtually every program you write, design, or maintain.For ease of experimentation, all sample code is available on Compiler Explorer at https://godbolt.org/z/cg30-ch0.0.Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
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.

HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.