Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Earn Your Business Degree, Tuition-Free, 100% Online!
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This session compares common ways to handle errors in C++, including exceptions, error codes, optional arguments, and result-like types. It discusses their effects on program architecture, API design, and code style.
Syllabus
Intro
Classification of issues
Examples of errors and exceptional situations
General approach to handling
Exception safety
Add context
General characteristics
std::optional - special case
Naive implementation
Functional style
Pattern matching in C++
Pre-conditions example (non-null pointer)
Good practices
Taught by
NDC Conferences