This talk focuses on how to optimise C++ code for being easily readable by average human developers, ideally being close to plain English. I will revisit best practices on naming, comments, and locality from a modern C++ perspective. Readability also means writing less code and avoiding repetitions and unnecessary noise. I will present practical use cases of modern C++ features that are especially effective to achieve this. I will finish the talk with an overview of new C++17 features aiming at more readable code, such as fold expressions, constexpr-if, and structured bindings.
YOU MAY ALSO LIKE:
- Type Punning in Modern C++ (SkillsCast recorded in September 2019)
- Haskell eXchange 2021: Pro Track (Online Conference on 16th - 17th November 2021)
- Formal Verification of Subsets of the Rust Language (SkillsCast recorded in June 2021)
- Rethinking Bioinformatic Algorithms Using F# (SkillsCast recorded in October 2020)
Readable Modern C++
Timur Doumler is a C++ developer specialising in audio and music technology, member of the ISO C++ committee, and program chair of the Audio Developer Conference (ADC). He is passionate about writing clean code, providing good tools, evolving the C++ language, and building inclusive communities.