Functional programming isn’t just for Haskell or Lisp — many of its ideas have been part of C++ for years, and modern features like lambdas, std::function, ranges, and std::variant make those ideas easier to use than ever.
In this episode of 'The Curious Developer', Jesper Pedersen talks with Ivan Čukić about how to apply functional programming techniques in everyday C++ without switching languages. Ivan explains what “functional programming in C++” really means, how higher‑order functions show up in the standard algorithms, and how concepts like immutability and sum types can make code safer and easier to reason about.