C++ Error Handling Revisited
Offered By: NDC Conferences via YouTube
Course Description
Overview
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
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX Introduction to Functional Programming
Delft University of Technology via edX Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX