Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Instant streaming of thousands of movies and TV episodes with Prime Video
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Other Sellers on Amazon
98% positive over last 12 months
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code 1st Edition
| Price | New from | Used from |
- Kindle
$19.79 Read with our free app - Paperback
$37.64 - $37.827 Used from $33.56 18 New from $37.29
Purchase options and add-ons
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 trivia
- Don't hurt yourself by writing code that will cause problems later
- Know which legacy features to avoid and the modern features to use instead
- Use newer features properly, to get their benefits without creating new problems
- Default to higher-quality code that's statically type-safe, leak resistant, and easier to evolve
- Use the Core Guidelines with any modern C++ version: C++20, C++17, C++14, or C++11
There'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.
- ISBN-100137647840
- ISBN-13978-0137647842
- Edition1st
- PublisherAddison-Wesley Professional
- Publication date
2021
December 16
- Language
EN
English
- Dimensions
7.0 x 0.8 x 9.1
inches
- Length
352
Pages
Frequently bought together

Similar items that may ship from close to you
From the Publisher
Foreword by Bjarne Stroustrup, inventor of C++ and co-editor of the C++ Core Guidelines
I enjoyed reading this book. I enjoyed it especially because it presents the C++ Core Guidelines (CG) very differently from how the CG itself does it. The CG presents its rules relatively tersely in a fixed format. The CG rules are often expressed in language-technical terms with an emphasis on enforcement through static analysis. This book tells stories, many coming from the games industry based on the evolution of code and techniques over decades. It presents the rules 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. There are more extensive discussions of the motivation for rules than the CG themselves can offer.
The CG aims for a degree of completeness. Naturally, a set of rules for writing good code in general cannot be complete, but the necessary degree of completeness implies that the CG are not meant for a systematic read. I recommend the introduction and the philosophy section to get an impression of the aims of the CG and its conceptual framework. However, for a selective tour of the CG guided by taste, perspective, and experience, read the book. For true geeks, it is an easy and entertaining read. For most software developers, it offers something new and useful.
—June, 2021
Editorial Reviews
About the Author
Kate Gregory has 40+ years of development experience in multiple languages. She has keynoted on five continents, and volunteers in many C++ activities, especially #include , which is making the industry more welcoming and inclusive. Since 1986 she and her husband have run Gregory Consulting, helping clients worldwide become more effective.
Product details
- Publisher : Addison-Wesley Professional; 1st edition (December 16, 2021)
- Language : English
- Paperback : 352 pages
- ISBN-10 : 0137647840
- ISBN-13 : 978-0137647842
- Item Weight : 1.36 pounds
- Dimensions : 7 x 0.8 x 9.1 inches
- Best Sellers Rank: #192,519 in Books (See Top 100 in Books)
- #32 in C++ Programming Language
- #52 in Computer Programming Languages
- Customer Reviews:
Important information
To report an issue with this product, click here.
About the author

Kate Gregory has been using C++ since before Microsoft had a C++ compiler, and has been paid to program since 1979. She loves C++ and believes that software should make our lives easier. That includes making the lives of developers easier! She'll stay up late arguing about deterministic destruction or how C++ 11 is not the C++ you remember.
Kate runs a small consulting firm in rural Ontario and provides mentoring and management consultant services, as well as writing code every week. She has spoken all over the world, written over a dozen books, and helped thousands of developers to be better at what they do. Kate is a Microsoft Regional Director, and a Visual C++ MVP, an Imagine Cup judge and mentor, and an active contributor to StackOverflow and other StackExchange sites. She develops courses for Pluralsight, primarily on C++ and Visual Studio. In 2014 she was Open Content Chair for CppCon, the largest C++ conference ever held, where she also delivered sessions.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
But what is with the spurious hyphens. It makes it very annoying to read.
The author tries to explain technical subjects by describing in useless detail their past projects and coding experiences in an informal and chatty manner, dumb humor and tedious anecdotes included. The author obviously thinks all of their past programming experiences are amazing and incredibly interesting.
Each chapter in the book attempts to cover a single Core C++ Guideline but typically introduces several topics with the actual Guideline buried somewhere in the text. The chapters are incredibly verbose with very little useful content.
For example, the Don't Insist on Having a Single Return Statement chapter (yes, an entire chapter on this). The first two and a half pages describes the author's experience in 1981 programming games on a Sinclair ZX81 in assembly language. On the fifth page they briefly discuss RAII, which is useful, but then go on to a brief, muddled discussion of exceptions.
I feel that 90% of the book is useless chatty fluff and most technically interesting Guidelines are buried in the text and not very well explained.
An infinitely better book is the Core Guidelines book by Rainer Grimm, very useful explanations and excellent presentation.
Top reviews from other countries
Allerdings hat bei mir der Versand etwa 3 Wochen gedauert und ich wurde nicht sauber darüber informiert. Ist man von Amazon so gar nicht gewöhnt....







