Skip to content

More "monadic" operations for modern C++

Photo of Patricia Aas
Hosted By
Patricia A. and Ólafur W.
More "monadic" operations for modern C++

Details

In Zivid, they do a bi-weekly internal learning event called "Tech Thursday", and they'd like to invite everyone to join them this time. There will be one C++ talk, as well as a possibility for lightning talks if anyone is interested. Zivid will also serve food, drinks and snacks.

Please sign up for the event as early as possible in order for us to order enough food. There will be a vegan option, for other dietary restrictions please contact [anders.knatten@zivid.com](mailto:anders.knatten@zivid.com) at least one week in advance. Also contact [anders.knatten@zivid.com](mailto:anders.knatten@zivid.com) if you want to give a lightning talk (5-10 minutes).

Schedule:
17:00 Food is served
17:30 Vitaly Fanaskov: More "monadic" operations for modern C++
18:30 Break
18:45 Lightning talks

More "monadic" operations for modern C++ by Vitaly Fanaskov

Quite a few useful things were accepted for the upcoming C++ standard. The class std::optional supports more operations for processing the contained data depending on whether it has a value or not. The proposal for std::expected is finally in place. It's getting easier to write robust programs with this tooling!

In this talk, I'm going to show how to use these and some other classes for creating programs in a more functional style. We will discuss immutability, functions without side effects, and how this changes the entire code style of your program. Additionally, I'll address one of the most frequently asked questions: "how do I write logs in the functional programming world?".

You will learn how to write programs without explicit ifs, extract tiny reusable functions, and return values to indicate incorrect states instead of throwing exceptions.

Location:
This event is in Zivid's offices in Nydalen, Gjerdrums vei 10A. Use subway lines 4/5, bus 23/24/30/37/51/54/56/58 or train to Nydalen.

Photo of Oslo C++ Users Group group
Oslo C++ Users Group
See more events
Gjerdrums vei 10A
Gjerdrums vei 10A · Oslo