Overview
Explore modern C++ techniques for eliminating code repetition in this 57-minute conference talk from code::dive 2019. Learn how to construct zero-cost abstractions that express intent more clearly and improve code readability. Discover methods to replace common repetitive patterns with more concise and expressive alternatives, such as transforming "if (a > 0 && b > 0 && c > 0)" into "if (all_of(a, b, c) > 0)". Gain insights from speaker Björn Fahller, an experienced software architect and programmer, on creating your own abstractions to reduce micro-repetitions in code. Apply these techniques to enhance code maintainability, spot mistakes more easily, and improve overall functionality without incurring runtime costs.
Syllabus
Modern techniques for keeping your code DRY - Björn Fahller - code::dive 2019
Taught by
code::dive conference