Weak Interfaces - Weak Defences - The Bane of Implicit Conversion in Function Calls
Offered By: CppNow via YouTube
Course Description
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
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube