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

YouTube

C++ Error Handling Revisited

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++ inspired by functional programming concepts from Haskell in this 58-minute conference talk. Delve into the challenges of managing side effects and errors in software development. Examine Haskell's elegant approach to error handling, including the Maybe type and bind operator. Learn how these concepts have influenced other languages and can be applied to C++. Investigate C++17 features that support functional-style error handling, such as std::optional and std::variant. Discuss the limitations of current C++ language constructs in fully implementing these patterns. Gain insights into improving error management in your C++ projects by drawing inspiration from functional programming paradigms.

Syllabus

Intro
Example
Patterns
Haskell
Error Handling
Maybe
Bind Operator
Do Notation
Rust
Standard Optional
Standard Variant
Standard Visit
Conclusion

Taught by

NDC Conferences

Reviews

Start your review of C++ Error Handling Revisited

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.