Authors:
Shows how to master the principles of efficient modern C++ coding
Covers C++ design patterns and idioms
Updated using the C++20 standard
Buy it now
Buying options
Tax calculation will be finalised at checkout
Other ways to access
This is a preview of subscription content, log in via an institution to check for access.
Table of contents (9 chapters)
-
Front Matter
-
Back Matter
About this book
If you don't take care with your codebase, you can produce a large, messy, and unmaintainable beast in any programming language. However, C++ projects in particular are prone to get messy and tend to slip into a maintenance nightmare. There is lots of C++ code out there that looks as if it was written in the 1980s, completely ignoring principles and practices of well-written and modern C++.
It seems that C++ developers have been forgotten by those who preach Software Craftsmanship and Clean Code principles. The web is full of C++ code examples that may be very fast and highly optimized, but whose developers have completely ignored elementary principles of good design and well-written code. This book will explain how to avoid this and how to get the most out of your C++ code. You'll find your coding becomes more efficient and, importantly, more fun.
What You Will Learn
- Gain sound principles and rules for clean coding in C++
- Carry out test-driven development (TDD)
- Better modularize your C++ code base
- Discover and apply C++ design patterns and idioms
- Write C++ code in both object-oriented and functional programming styles
Who This Book Is For
Any C++ developer or software engineer with an interest in producing better code.
Authors and Affiliations
-
Bad Schwartau, Germany
Stephan Roth
About the author
Bibliographic Information
Book Title: Clean C++20
Book Subtitle: Sustainable Software Development Patterns and Best Practices
Authors: Stephan Roth
DOI: https://doi.org/10.1007/978-1-4842-5949-8
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Stephan Roth 2021
Softcover ISBN: 978-1-4842-5948-1Published: 18 June 2021
eBook ISBN: 978-1-4842-5949-8Published: 17 June 2021
Edition Number: 2
Number of Pages: XVII, 491
Number of Illustrations: 73 b/w illustrations, 7 illustrations in colour
Topics: Programming Languages, Compilers, Interpreters, Programming Techniques, Software Engineering