Back to Basics Functional Programming and Monads in C++ - Jonathan Müller - CppCon 2024
#cpp #cppcon
Back to Basics: Functional Programming and Monads in C++ - Jonathan Müller - CppCon 2024
Slides: https://github.com/CppCon/CppCon2024/blob/main/Presentations/Back_To_Basics_Functional_Programming_In_Cpp.pdf
---
Functional programming is a declarative way of writing programs by composing functions.
In many situations, this can lead to code that is easier to write and understand and less error-prone.
However, it requires a shift to a more functional mindset.
This talk gives an introduction to functional programming in C++ using the modern standard library.
We will cover algorithms using `std::ranges`, composable error handling with `std::optional` and `std::expected`, algebraic data types, and separating IO from computation.
In the end, we'll even cover the M-word.
---
Jonathan Müller is a Software Engineer at think-cell. There, he is responsible for maintaining think-cell's core libraries, which include a custom range library, a fast and convenient JSON parser, and many other utilities and data structures to write elegant C++ code. Before working at think-cell, he wrote many useful open-source C++ libraries. He is also a member of the C++ standardization committee, where he serves as the assistant chair for std::ranges, and a frequent conference speaker.
https://www.youtube.com/watch?v=-dXFmWXMrm0
Видео Back to Basics Functional Programming and Monads in C++ - Jonathan Müller - CppCon 2024 автора CppVault
Видео Back to Basics Functional Programming and Monads in C++ - Jonathan Müller - CppCon 2024 автора CppVault
Информация
26 января 2025 г. 17:15:08
00:56:03
Похожие видео