Cantitate/Preț
Produs

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

Autor J. Davidson, J. Guy Davidson, Kate Gregory
en Limba Engleză Paperback – 2 apr 2022

Notăm cu interes modul în care Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code transformă un set vast de reguli abstracte într-un instrumentar aplicabil imediat. Un exercițiu concret care demonstrează abordarea cărții este utilizarea link-urilor către Compiler Explorer (godbolt.org), permițând cititorului să testeze instantaneu cum regulile de siguranță a tipurilor (type-safety) și rezistența la scurgeri de memorie (leak resistance) influențează performanța codului în standardele C++17 sau C++20. Autorii nu se limitează la teorie, ci pun accent pe evitarea fenomenului de „bikeshedding” — pierderea timpului cu detalii triviale în favoarea unor decizii de design robuste.

Putem afirma că structura celor 30 de ghiduri selectate oferă o perspectivă pragmatică asupra evoluției limbajului. Dacă C++ Core Guidelines Explained de Rainer Grimm v-a oferit cadrul teoretic complet al standardelor ISO, această carte oferă instrumentele practice necesare pentru a naviga între funcționalitățile noi și cele de tip legacy. Ne-a atras atenția modul în care J. Guy Davidson și Kate Gregory reușesc să identifice exact acele „coșmaruri” de programare care apar atunci când bunele practici sunt ignorate, oferind în schimb soluții pentru un cod ușor de evoluat.

În contextul operei autorului J. Guy Davidson, această lucrare reprezintă o ramificație tehnică surprinzătoare față de analizele sale politice sau economice, precum America's Allies and War sau An Introduction to Econometric Theory. Deși subiectele diferă radical, se păstrează aceeași rigoare a analizei și capacitatea de a sintetiza volume mari de date în concluzii acționabile. Volumul de față se înscrie în linia ghidurilor esențiale de programare modernă, punând accent pe siguranță și viteză, fără a sacrifica claritatea stilului.

Citește tot Restrânge

Preț: 26208 lei

Preț vechi: 32761 lei
-20%

Puncte Express: 393

Carte disponibilă

Livrare economică 05-19 mai
Livrare express 18-24 aprilie pentru 4105 lei


Specificații

ISBN-13: 9780137647842
ISBN-10: 0137647840
Pagini: 352
Dimensiuni: 178 x 235 x 20 mm
Greutate: 0.61 kg
Ediția:1. Auflage
Editura: Pearson International

De ce să citești această carte

Recomandăm această carte programatorilor care doresc să scrie cod modern, dar se simt copleșiți de complexitatea specificațiilor oficiale. Cititorul câștigă o înțelegere clară a celor mai importante 30 de reguli de design, învățând să evite capcanele versiunilor vechi de C++. Este un ghid practic care prioritizează eficiența și siguranța, fiind ideal pentru echipele care vor să standardizeze calitatea codului folosind standardele C++11 până la C++20.


Despre autor

J. Guy Davidson este un autor versatil și un programator cu o experiență vastă, cunoscut pentru capacitatea sa de a analiza sisteme complexe. În timp ce lucrările sale anterioare au explorat relațiile internaționale în The Origins of Revisionist and Status-Quo States sau fundamentul matematic al econometriei, în Beautiful C++ își folosește expertiza tehnică pentru a simplifica bunele practici de dezvoltare software. Alături de Kate Gregory, o autoritate recunoscută în comunitatea C++, Davidson reușește să ofere o resursă valoroasă pentru inginerii software care caută claritate și performanță în proiectele lor, adaptând standardele ISO la nevoile reale ale industriei.


Descriere scurtă

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 students will find especially valuable and offer detailed practical knowledge for improving their 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
  • Understand how to write code that will not 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 students 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 this book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Notă biografică

J. Guy Davidson, head of engineering practice at Creative Assembly, works on its Total War game franchise, curates its catalogue, and improves programming standards across its engineering team. He serves on the ISO C++ committee, moderates the #include discord server, speaks at C++ events, and offers C++ mentoring support through Prospela and BAME in Games. 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.