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

YouTube

10 Tips for Cleaner C++ 20 Code - Lecture

CppCon via YouTube

Overview

Discover 10 essential tips for writing cleaner C++ 20 code in this CppCon 2022 conference talk by David Sackstein. Learn how to create more readable, testable, and extensible code using modern C++ techniques. Explore the challenges of increasing code complexity and its impact on comprehension. Gain insights into core programming issues and their solutions through practical examples. Examine complex C++ code and witness its transformation using easily applicable guidelines. Engage in a discussion on implementing these tips in diverse projects. Delve into topics such as STL implementation, clean code tradeoffs, software design best practices, header management, error handling improvements, lazy iteration with generators, refactoring techniques, dependency injection, and inversion of control containers.

Syllabus

Intro
Implementation of the STL
Clean code tradeoffs
Best Practices for Software Design
Managing headers
Improving error handling
Use generators for lazy iteration
Refactoring Step
Dependency Injection
Constructor injection
Inversion of Control Container
Lessons Learnt

Taught by

CppCon

Reviews

Start your review of 10 Tips for Cleaner C++ 20 Code - Lecture

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.