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

YouTube

Weak Interfaces - Weak Defences - The Bane of Implicit Conversion in Function Calls

CppNow via YouTube

Overview

Explore the challenges and solutions for creating safer function interfaces in C++ programming. Learn how implicit conversions and weak type safety can lead to subtle bugs and errors in function calls. Discover techniques for identifying problematic functions, implementing preventive refactoring, and improving type safety in large-scale projects. Examine existing tools and methods for detecting argument ordering mistakes, and understand the importance of strong typing in enhancing code reliability. Gain insights into the complexities of evolving legacy codebases towards improved type safety, and learn best practices for designing robust function interfaces that minimize the risk of parameter mix-ups and implicit conversions.

Syllabus

Introduction
Definitions
Methods
Existing Research
Naming
Types
Implicit Conversions
Strong Typing
Mixable Parameter Range
Clanked ID
Code Checker
Chances in Numbers
Projects
Warnings
C Core Guidelines
Conclusion

Taught by

CppNow

Reviews

Start your review of Weak Interfaces - Weak Defences - The Bane of Implicit Conversion in Function Calls

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.