100 C++ Mistakes and How to Avoid Them

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 25 February 2025
- ISBN
- 9781638357315
- Subjects
- Computer programming / software development, Programming & scripting languages: general, Software Engineering, Information architecture, Computer programming / software engineering, Programming and scripting languages: general, Software Engineering, Information architecture
About this book
Get the eBook free when you register your print book at Manning.Learn how to handle errors, inefficiencies, and outdated paradigms by exploring the most common mistakes youll find in production C++ code.100 C++ Mistakes and How To Avoid Them reveals the problems youll inevitably encounter as you write new C++ code and diagnose legacy applications, along with practical techniques you need to resolve them.Inside 100 C++ Mistakes and How To Avoid Them youll learn how to:Design solid classesMinimize resource allocation/deallocation issuesUse new C++ featuresIdentify the differences between compile and runtime issuesRecognize C-style idioms that miss C++ functionalityUse exceptions well100 C++ Mistakes and How To Avoid Them 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.About the technologyOver 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 youre maintaining and avoid them in the code youre writing.About the book100 C++ Mistakes and How To Avoid Them 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, youll even learn how and where to replace outdated patterns and idioms with modern C++.What's insideDesign solid classesResource allocation/deallocation issuesCompile and runtime problemsReplace C-style idioms with proper C++About the readerCovers C++ 98 through 23, with an emphasis on diagnosing and improving legacy code.About the authorRich Yonts 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.Table of Contents1 C++: With great power comes great responsibilityPart 12 Better modern C++: Classes and types3 Better modern C++: General programming4 Better modern C++: Additional topicsPart 25 C idioms6 Better premodern C++Part 37 Establishing the class invariant8 Maintaining the class invariant9 Class operations10 Exceptions and resources11 Functions and coding12 General coding
Bibliographic data © Gardners Books Ltd.