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

YouTube

Expect the Expected

NDC Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore error handling techniques in C++ through this comprehensive conference talk. Learn about the challenges of writing resilient code and the limitations of traditional exception handling. Discover how to combine theoretical and practical approaches to create a unified solution for error codes and exceptions using the generic type Expected. Examine the benefits of local and centralized error handling methods, and understand how this approach can improve code efficiency and readability. Delve into topics such as exception aftermath, optional values, and promising futures. Gain insights into implementing the Expected type, handling unexpected scenarios, and applying centralized error management in your C++ projects.

Syllabus

Intro
Discussing Exceptions
Discussing Error Handling
Discussing Special Values
Exceptions
Expected vs Unexpected
Exception Handling
Exception Aftermath
Optional
Promising Future
Defining Expected
Implementation
Value
Swap
Typical Years
Unexpected
centralized use

Taught by

NDC Conferences

Reviews

Start your review of Expect the Expected

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.