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