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.
Overview
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