Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Debunking C++ Myths
  • Table Of Contents Toc
  • Feedback & Rating feedback
Debunking C++ Myths

Debunking C++ Myths

By : Alexandru Bolboacă, Ferenc-Lajos Deák
close
close
Debunking C++ Myths

Debunking C++ Myths

By: Alexandru Bolboacă, Ferenc-Lajos Deák

Overview of this book

Think you know C++? Think again. For decades, C++ has been clouded by myths and misunderstandings—from its early design decisions to misconceptions that still linger today. Claims like "C++ is too hard to learn" or "C++ is obsolete" are often rooted in some truth, but they are outdated and fail to capture the language’s ongoing evolution and modern capabilities. Written by industry veterans with over 40 years of combined experience, this book uncovers the myths, exploring their origins and relevance in the context of today’s C++ landscape. It equips you with a deeper understanding of advanced features and best practices to elevate your projects. Each chapter tackles a specific misconception, shedding light on C++'s modern features, such as smart pointers, lambdas, and concurrency. You’ll learn practical strategies to navigate common challenges like code portability and compiler compatibility, as well as how to incorporate modern best practices into your C++ codebase to optimize performance and future-proof your projects. By the end of this book, you’ll have a comprehensive understanding of C++'s evolution, equipping you to make informed decisions and harness its powerful features to enhance your skills, coding practices, and projects.
Table of Contents (15 chapters)
close
close

Preface

Imagine C++ as a mythical, ancient language, descended from the ones, forged in the fires of low-level magic, tempered with the precision of high-level incantations. Born out of the need to both control the machine and present an abstraction, it is a tool wielded by those who seek to bridge the chasm between raw machine and high-level constructs, while still accessing the luxury of modern tools.

Imagine this book as unlike any other you have encountered. The authors have embarked on a daring quest, navigating the labyrinthine depths of C++ to shed light on its true nature. With courage and precision, they aim to strip away the layers of myth and mystery that have long surrounded this fabled language, tackling both its triumphs and its perceived flaws.

Approach this book with an open mind, for it promises a journey unlike any other, a journey not suited to the faint of heart. The authors dive headfirst into the complex reputation of C++, confronting its infamous pointers and intricate memory management, and even descending into the depths of low-level C++, where assembly reigns and pointers are simply numbers. We look at the different C++s that exist out there, at the ecosystem around C++, at how to learn it today, and at the things you’d do better to forget about. Through each chapter, we peel back the layers, uncovering the underlying logic and elegance within these powerful constructs. With stories of C++ legends and a touch of humor (albeit sometimes questionable), we aim to keep you engaged while guiding you through both the sublime and the absurd. Expect to encounter some of the worst code you’ve ever seen, presented intentionally to teach you what not to do, all while illuminating the true potential of C++. This is a book designed not just to teach but also to reveal the soul of C++ through both its virtues and its pitfalls.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY