Exceptions in C++ - Better Design Through Analysis of Real World Usage
Offered By: CppNow via YouTube
Course Description
Overview
Explore the controversial topic of exceptions in C++ through this comprehensive conference talk from CppNow 2023. Delve into the original intent and mechanics of exceptions, analyze real-world usage patterns, and examine common misuses in resource management, retries, checking, hierarchies, logging, data passing, and control flow. Learn better alternatives for handling these situations and gain insights into the key attributes exceptions should provide. Discover where exceptions are most appropriate and examine a model exception class design. Benefit from the speaker's extensive experience across various industries to understand what works best for large-scale engineering projects, and develop a nuanced perspective on exception handling in C++.
Syllabus
Introduction
Overview
What are exceptions
What is an exception
Philosophy of Exceptions
Is it appropriate to use exceptions
Use cases for exceptions
Exceptions for rare events
When to use exceptions
Exceptional Exceptions
Exceptions in Code
Exceptional Logging
Exceptional Checking
Exceptional Trier
Exceptional Hard to Find
Exceptional Data Passing
Exceptional Control Flow
Exception Hierarchy
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