{"product_id":"100-c-mistakes-and-how-to-avoid-them","title":"100 C++ Mistakes and How to Avoid Them","description":"\u003cp\u003e\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\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003eInside \u003ci\u003e100 C++ Mistakes and How To Avoid Them\u003c\/i\u003e you’ll learn how to:\u003c\/p\u003e\u003cp\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\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the technology\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eOver 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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the book\u003c\/b\u003e\u003c\/p\u003e\u003cp\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++.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWhat's inside\u003c\/b\u003e\u003c\/p\u003e\u003cp\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++\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eCovers C++ 98 through 23, with an emphasis on diagnosing and improving legacy code.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAbout the author\u003c\/b\u003e\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eTable of Contents\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003e1 C++: With great power comes great responsibility\u003cbr\u003ePart 1\u003cbr\u003e2 Better modern C++: Classes and types\u003cbr\u003e3 Better modern C++: General programming\u003cbr\u003e4 Better modern C++: Additional topics\u003cbr\u003ePart 2\u003cbr\u003e5 C idioms\u003cbr\u003e6 Better premodern C++\u003cbr\u003ePart 3\u003cbr\u003e7 Establishing the class invariant\u003cbr\u003e8 Maintaining the class invariant\u003cbr\u003e9 Class operations\u003cbr\u003e10 Exceptions and resources\u003cbr\u003e11 Functions and coding\u003cbr\u003e12 General coding\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"color: rgb(34, 34, 34); font-size: 24px; font-weight: 700;\"\u003eAbout the Author\u003c\/span\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\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. Rich held a number of technical and leadership roles during his many years at IBM and Sony. As an assistant professor, he has dealt with questions and issues of undergraduate and graduate students learning programming. He has deep experience on large code bases and considers himself both a student and a teacher of C++.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eEbook License\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eEnd-User Warranty And License Agreement\u003c\/p\u003e\u003cp\u003e1. Grant Of License\u003c\/p\u003e\u003cp\u003eManning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.\u003c\/p\u003e\u003cp\u003e2. Restrictions\u003c\/p\u003e\u003cp\u003eYou Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.\u003c\/p\u003e\u003cp\u003e3. Intellectual Property Protection\u003c\/p\u003e\u003cp\u003eThe Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.\u003c\/p\u003e\u003cp\u003e4. Source Code Supplementary Material\u003c\/p\u003e\u003cp\u003eAny Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.\u003c\/p\u003e\u003cp\u003e5. Limited Warranty\u003c\/p\u003e\u003cp\u003eManning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.\u003c\/p\u003e\u003cp\u003e6. Limitation Of Liability\u003c\/p\u003e\u003cp\u003eIn No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.\u003c\/p\u003e\u003cp\u003e7. General\u003c\/p\u003e\u003cp\u003eThis Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Manning Publications","offers":[{"title":"Paperback","offer_id":50506381787206,"sku":"9781633436893","price":5318.0,"currency_code":"INR","in_stock":true},{"title":"E-Book","offer_id":50506381819974,"sku":"9781633436893-2","price":4333.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/610spCxmQWL._SL1500.jpg?v=1790328851","url":"https:\/\/cb-india.com\/products\/100-c-mistakes-and-how-to-avoid-them","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}