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

YouTube

Exceptions in C++ - Better Design Through Analysis of Real World Usage

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Exceptions in C++ - Better Design Through Analysis of Real World Usage

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.