Try Blinkist to get the key ideas from 7,500+ bestselling nonfiction titles and podcasts. Listen or read in just 15 minutes.
Get started
Blink 3 of 8 - The 5 AM Club
by Robin Sharma
C++ Coding Standards by Herb Sutter and Andrei Alexandrescu provides a comprehensive guide to writing high-quality, maintainable C++ code. It covers best practices and coding conventions to help you write more efficient and reliable software.
In C++ Coding Standards by Herb Sutter and Andrei Alexandrescu, the authors present a comprehensive set of guidelines for writing high-quality C++ code. They argue that consistent coding standards are essential for improving software quality, reducing time-to-market, and simplifying maintenance. The book is structured around 101 specific rules and best practices that cover various aspects of C++ programming.
The authors begin with the importance of consistent naming conventions, advocating for clear, descriptive names for variables, functions, and classes. They also emphasize the significance of using the standard library, avoiding macros, and preferring const and enum over #define. They further discuss the proper use of pointers and references, and the importance of understanding and adhering to the const correctness principle.
Moving on to design and coding style, C++ Coding Standards delves into the effective use of classes and inheritance. The authors recommend using composition over inheritance, defining copy semantics, and avoiding resource management in constructors and destructors. They also emphasize the significance of exception safety and propose a set of rules for exception handling in C++.
Furthermore, the book covers the effective use of templates, generic programming, and the Standard Template Library (STL). The authors argue for the use of templates to write generic code, but caution against overusing them. They also discuss the proper usage of STL containers and algorithms, advocating for their use over manual memory management and custom data structures and algorithms.
Performance and scalability are two critical aspects of C++ programming, and the authors provide a set of guidelines to address these concerns. They discuss the use of virtual functions and multiple inheritance, recommending their cautious use due to performance implications. They also provide guidelines for writing efficient code using the STL, such as preferring algorithms over hand-written loops and using the right data structures for specific tasks.
Additionally, the authors discuss the effective use of inline functions, proper handling of memory allocation and deallocation, and the use of smart pointers. They also provide guidelines for writing exception-safe and thread-safe code, considering the growing importance of multi-threaded programming in modern software development.
In conclusion, C++ Coding Standards by Herb Sutter and Andrei Alexandrescu presents a comprehensive set of guidelines for writing high-quality, maintainable, and efficient C++ code. The authors emphasize the importance of consistency in coding standards and provide a detailed set of rules covering various aspects of C++ programming, from naming conventions to performance and scalability considerations.
By following these guidelines, C++ developers can improve the quality and maintainability of their code, reduce time-to-market, and ensure better performance and scalability of their software. The book serves as a valuable resource for both beginner and experienced C++ developers, offering a set of best practices and rules that can help them write better code and become more effective programmers.
C++ Coding Standards is a comprehensive guide to writing high-quality, maintainable code in C++. Written by Herb Sutter and Andrei Alexandrescu, this book provides practical guidelines and best practices for software development in C++. It covers a wide range of topics including naming conventions, code organization, resource management, and more. Whether you are a beginner or an experienced developer, this book will help you improve your coding skills and produce better C++ code.
Software developers and engineers who want to improve their C++ coding skills
Professionals seeking to adhere to industry best practices and coding standards
Individuals who want to write more maintainable and efficient C++ code
It's highly addictive to get core insights on personally relevant topics without repetition or triviality. Added to that the apps ability to suggest kindred interests opens up a foundation of knowledge.
Great app. Good selection of book summaries you can read or listen to while commuting. Instead of scrolling through your social media news feed, this is a much better way to spend your spare time in my opinion.
Life changing. The concept of being able to grasp a book's main point in such a short time truly opens multiple opportunities to grow every area of your life at a faster rate.
Great app. Addicting. Perfect for wait times, morning coffee, evening before bed. Extremely well written, thorough, easy to use.
Try Blinkist to get the key ideas from 7,500+ bestselling nonfiction titles and podcasts. Listen or read in just 15 minutes.
Get startedBlink 3 of 8 - The 5 AM Club
by Robin Sharma