Refactoring with C++

Refactoring with C++

Dmitry Danilov

56,39 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2024
Materia
Programación informática/desarrollo de software
ISBN:
9781837633777
56,39 €
IVA incluido
Disponible
Añadir a favoritos

Improve readability and understandability of code using C++ best practicesKey Features:- Enrich your coding skills using features from the modern C++ standard and industry approved libraries- Implement refactoring techniques and SOLID principles in C++- Apply automated tools to improve your code quality- Purchase of the print or Kindle book includes a free PDF eBookBook Description:Despite the prevalence of higher-level languages, C++ is still running the world, from bare-metal embedded systems to distributed cloud-native systems. C++ is on the frontline whenever there is a need for a performance-sensitive tool supporting complex data structures. The language has been actively evolving for the last two decades.This book is a comprehensive guide that shows you how to implement SOLID principles and refactor legacy code using the modern features and approaches of C++, the standard library, Boost library collection, and Guidelines Support Library by Microsoft. The book begins by describing the essential elements of writing clean code and discussing object-oriented programming in C++. You’ll explore the design principles of software testing with examples of using popular unit testing frameworks such as Google Test. The book also guides you through applying automated tools for static and dynamic code analysis using Clang Tools.By the end of this book, you’ll be proficient in applying industry-approved coding practices to design clean, sustainable, and readable real-world C++ code.What You Will Learn:- Leverage the rich type system of C++ to write safe and elegant code- Create advanced object-oriented designs using the unique features of C++- Minimize code duplication by using metaprogramming- Refactor code safely with the help of unit tests- Ensure code conventions and format with clang-format- Facilitate the usage of modern features automatically with clang-tidy- Catch complex bugs such as memory leakage and data races with Clang AddressSanitizer and ThreadSanitizerWho this book is for:This book will benefit experienced C++ programmers the most, but is also suitable for technical leaders, software architects, and senior software engineers who want to save on costs and improve software development process efficiency by using modern C++ features and automated tools.Table of Contents- Coding Standards in C++- Main Software Development Principles- Causes of Bad Code- Good Candidates for Rewriting - Patterns and Anti-Patterns- The Significance of Naming- Utilizing a Rich Static Type System in C++- Classes, Objects, and OOP in C++- Designing and Developing APIs in C++- Code Formatting and Naming Conventions- Introduction to Static Analysis in C++- Dynamic Analysis- Testing- Modern Approach to Managing Third Parties- Version Control- Code Review

Artículos relacionados

  • SPARK 2014 Reference Manual
    AdaCore / Altran UK Ltd
    SPARK 2014 is a programming language and a set of verification tools designed to meet the needs of high-assurance software development. SPARK 2014 is based on Ada 2012, both subsetting the language to remove features that defy verification, but also extending the system of contracts and aspects to support modular, formal verification.This manual is available online for free at ...
    Disponible

    19,91 €

  • Software and Intelligent Sciences
    Yingxu Wang
    The junction of software development and engineering combined with the study of intelligence has created a bustling intersection of theory, design, engineering, and conceptual thought. Software and Intelligent Sciences: New Transdisciplinary Findings sits at a crossroads and informs advanced researchers, students, and practitioners on the developments in computer science, theor...
    Disponible

    256,77 €

  • Power System Planning Technologies and Applications
    Fawwaz Elkarmi / Nazih Abu Shikhah / Nazih Abu-Shikhah
    Planning is an important function of the management of any business, providing knowledge of future prospects and enabling prudent and appropriate decision-making. Planning is especially critical for power systems, since electricity is a fundamental part of modern societies and many conventional electrical energy resources currently in use are limited. Power System Planning Tech...
    Disponible

    255,75 €

  • Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery
    Masha Etkind / Uri Shafrir
    Text analysis tools aid in extracting meaning from digital content. As digital text becomes more and more complex, new techniques are needed to understand conceptual structure. Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery: Emerging Research and Opportunities provides an innovative perspective on the application of algorithmic tools to study unstructured d...
    Disponible

    170,34 €

  • Model-Based Design for Effective Control System Development
    Wei Wu
    Control systems are an integral aspect of modern society and exist across numerous domains and applications. As technology advances more and more, the complexity of such systems continues to increase exponentially. Model-Based Design for Effective Control System Development is a critical source of scholarly information on model-centric approaches and implementations for control...
    Disponible

    242,72 €

  • Verification, Validation and Testing in Software Engineering
    ...
    Disponible

    125,53 €