{"product_id":"100-c-mistakes-and-how-to-avoid-them","title":"100 C++ Mistakes and How to Avoid Them","description":"\u003cb\u003eLearn how to handle errors, inefficiencies, and outdated paradigms by exploring the most common mistakes you’ll find in production C++ code.\u003c\/b\u003e\u003cbr\u003e\u003cbr\u003e\u003ci\u003e100 C++ Mistakes and How To Avoid Them\u003c\/i\u003e reveals the problems you’ll inevitably encounter as you write new C++ code and diagnose legacy applications, along with practical techniques you need to resolve them.\u003cbr\u003e \u003cbr\u003eInside \u003ci\u003e100 C++ Mistakes and How To Avoid Them\u003c\/i\u003e you’ll learn how to:\u003cbr\u003e \u003cbr\u003e• Design solid classes\u003cbr\u003e • Minimize resource allocation\/deallocation issues\u003cbr\u003e • Use new C++ features\u003cbr\u003e • Identify the differences between compile and runtime issues\u003cbr\u003e • Recognize C-style idioms that miss C++ functionality\u003cbr\u003e • Use exceptions well\u003cbr\u003e \u003cbr\u003e\u003ci\u003e100 C++ Mistakes and How To Avoid Them\u003c\/i\u003e gives you practical insights and techniques to improve your C++ coding kung fu. Author Rich Yonts has been using C++ since its invention in the 1980s. This book distills that experience into practical, reusable advice on how C++ programmers at any skill level can improve their code. Unlike many C++ books that concentrate on language theory and toy exercises, this book is loaded with real examples from production codebases.\u003cbr\u003e \u003cbr\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eAbout the technology\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e Over ten billion lines of C++ code are running in production applications, and 98-developers find and fix mistakes in them every day. Even mission-critical applications have bugs, performance inefficiencies, and readability problems. This book will help you identify them in the code you’re maintaining and avoid them in the code you’re writing.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eAbout the book\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e \u003ci\u003e100 C++ Mistakes and How To Avoid Them\u003c\/i\u003e presents practical techniques to improve C++ code, from legacy applications to modern codebases that use C++ 11 and beyond. Author Rich Yonts provides a concrete example to illustrate each issue, along with a step-by-step walkthrough for improving readability, effectiveness, and performance. Along the way, you’ll even learn how and where to replace outdated patterns and idioms with modern C++.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e• Design solid classes\u003cbr\u003e • Resource allocation\/deallocation issues\u003cbr\u003e • Compile and runtime problems\u003cbr\u003e • Replace C-style idioms with proper C++\u003cbr\u003e \u003cbr\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e Covers C++ 98 through 23, with an emphasis on diagnosing and improving legacy code.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eAbout the author\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e \u003cb\u003eRich Yonts\u003c\/b\u003e is a Senior Software Engineer at Teradata and a long-time software engineer using C++, Java, and Python. He has held a number of technical and leadership roles during his many years at IBM and Sony.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eTable of Contents\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e 1 C++: With great power comes great responsibility\u003cbr\u003e Part 1\u003cbr\u003e 2 Better modern C++: Classes and types\u003cbr\u003e 3 Better modern C++: General programming\u003cbr\u003e 4 Better modern C++: Additional topics\u003cbr\u003e Part 2\u003cbr\u003e 5 C idioms\u003cbr\u003e 6 Better premodern C++\u003cbr\u003e Part 3\u003cbr\u003e 7 Establishing the class invariant\u003cbr\u003e 8 Maintaining the class invariant\u003cbr\u003e 9 Class operations\u003cbr\u003e 10 Exceptions and resources\u003cbr\u003e 11 Functions and coding\u003cbr\u003e 12 General coding","brand":"None","offers":[{"title":"Paperback","offer_id":46223250718930,"sku":"9781633436893","price":79.99,"currency_code":"CAD","in_stock":true},{"title":"Kobo eBook","offer_id":46223250751698,"sku":"c8d9bfc0-d89c-3958-ac67-7e3d796227f7","price":65.99,"currency_code":"CAD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0655\/8980\/5233\/files\/1_f0d8ec26-0a5c-4adf-be16-f8c7f9e85959.jpg?v=1763520219","url":"https:\/\/www.indigo.ca\/products\/100-c-mistakes-and-how-to-avoid-them","provider":"Indigo","version":"1.0","type":"link"}