

Buy anything from 5,000+ international stores. One checkout price. No surprise fees. Join 2M+ shoppers on Desertcart.
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Hungary.
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. Review: Important C++ tips for former or current C programmers - I graduated from college without ever taking a C++ course. I never had a professor take off points on a C++ project, or had a senior developer tell me, "You don't do that in C++". And yet I am a respected C++ developer because I mostly did a good job of self-teaching. This book is a headfirst dive into the C++ Core Guidelines with some performance tips that I never knew, like *why* 4 is a magic number for arguments to a function versus a reference to a struct. Review: Great book. Worth reading! - This book was a great read. It delves into the reasoning behind the C++ Core Guidelines. This book will teach you how to write cleaner, more bug-free C++ Code. It was on par with Effective Modern C++.

| Best Sellers Rank | #519,581 in Books ( See Top 100 in Books ) #108 in C++ Programming Language #357 in Computer Programming Languages #26,060 in Education & Teaching (Books) |
| Customer Reviews | 4.4 out of 5 stars 84 Reviews |
S**S
Important C++ tips for former or current C programmers
I graduated from college without ever taking a C++ course. I never had a professor take off points on a C++ project, or had a senior developer tell me, "You don't do that in C++". And yet I am a respected C++ developer because I mostly did a good job of self-teaching. This book is a headfirst dive into the C++ Core Guidelines with some performance tips that I never knew, like *why* 4 is a magic number for arguments to a function versus a reference to a struct.
V**V
Great book. Worth reading!
This book was a great read. It delves into the reasoning behind the C++ Core Guidelines. This book will teach you how to write cleaner, more bug-free C++ Code. It was on par with Effective Modern C++.
V**T
Listening to experienced programmers
This is not a traditional "how to write c++" book. The authors engage in many stories of their past programming career to illustrate certain points of programming style. This makes for an enjoyable read, but you have to approach this differently from most other c++ books. It's a matter of reading along, trusting that somewhere down the line a point will emerge. It usually does, but these lessons take more mental effort to absorb than a straight textbook, and you probably need to have a bit of experience in programming that empathize with the point they are making. Also, for a programming book this has remarkable many pages that are (almost) pure text. Sometimes I wished for more code samples / diagrams.
S**Y
Nicely updated and slimmed down but
Nice that it is slimmed down to just 30 items. But what is with the spurious hyphens. It makes it very annoying to read.
Y**G
OK book
somewhat useful.
D**P
Incredibly verbose with very little useful information
I was enticed by the Beautiful C++ title of this book. Code should definitely be beautiful but this books offers nothing to realize that goal; nothing beautiful inside, neither code nor insights. 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.
A**R
Very informative
Great book for those looking to write cleaner code
D**S
Prima
Prima en snel verzonden.
W**N
An Insightful Read
The writers explain why we do what we do, or at least, what we ought to be doing. They also shed light on how we got here as the language and practice evolves. Indeed, it’s a wonderful read.
M**K
7/10
Dobra książka, ale generalnie to jest po prostu rozszerzona wersja, wybranych wytycznych z CPPCoreGuidelines, gdzie czasami pojawiają się jakieś historyjki związane z danym problemem. Co prawda niektóre wytyczne w CPPCoreGuidelines są bardzo krótkie a w książce są rozpisane. Polecam czytać te książkę razem z oryginalnymi wytycznymi oraz z jakimś LLM, który pokaże więcej przykładów odnośnie danej wytycznej.
L**É
Great book.
Glad to read it. It's easy to follow, makes a lot of interesting points and definitely it's a must in a programmer library.
Trustpilot
1 month ago
2 months ago