Moar Functional with C++23 - Björn Fahller - code::dive 2023

Ғылым және технология

Moar Functional with C++23
Higher order functions, functions that take functions as input, or return functions, are useful for making your code more composable and expressive. The evolution of the standard library with ranges, std::expected and the latest extensions to std::optional, makes the use of higher order functions so much more desirable. At the same time, the evolution of the core language has made them much easier to write.
About the speaker - Björn Fahller
Björn works for Net Insight, where he wears many hats, including mentor trainer, troubleshooter, networking protocol designer, software architect, and programmer, and he is continuously pushing the codebase to increasingly modern C++. Programming has been his full-time profession since graduating from University in 1994, mostly writing embedded software for networking equipment. Björn first experienced programming when home computers became popular in the early 80s, and it quickly became a permanent interest of his.
Occasionally Björn has been seen tinkering with unorthodox software constructs, pondering "what can be done with this?" He lives in Stockholm.

Пікірлер: 2

  • @lorenzobolis5166
    @lorenzobolis51666 ай бұрын

    To work around the problem with 'optional' (which is isomoprhic to 'bool' btw), you could use regular void, i.e. std::monostate if you don't want to implement your 'Void/void_t' class

  • @eszpag
    @eszpag8 ай бұрын

    Excellent talk! Thank you for spreading the word about combinators!

Келесі