Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Modern Techniques for Keeping Your Code Dry

NDC Conferences via YouTube

Overview

Explore modern C++ techniques for eliminating code repetition in this 51-minute conference talk. Learn how to construct zero-cost abstractions that express intent more clearly, making code easier to understand and debug. Discover function templates, nontype templates, object construction, type construction, private inheritance, and perfect forwarding. Gain practical skills to create your own abstractions, reducing micro-repetitions in your codebase and improving overall code quality. Apply these techniques to write more expressive and maintainable C++ code without sacrificing performance.

Syllabus

Introduction
Repetition
About me
Function templates
Nontype templates
Construct an object
Construct a type
Private inheritance
Good or bad
Indirection
Perfect forwarding

Taught by

NDC Conferences

Reviews

Start your review of Modern Techniques for Keeping Your Code Dry

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.