Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Friday, November 18 • 3:45pm - 4:40pm
[SLIDES]Kevlin Henney @KevlinHenney - Functional C++

Sign up or log in to save this to your schedule and see who's attending!

Session feedback
Feedback Closed
Functional C++? As opposed to what — dysfunctional? Well, kind of, yeah. Sure, in C++ the principal unit of composition is called a function, but that doesn't mean it's a functional language. And the idea of restricting mutability of state gets a nod with const, but it's a nod not a hug. And the STL shows influences of functional programming, although it falls short of being compositional. And, yes, sure, C++11 introduced lambdas, but then again, these days, which language hasn't? Lambda calculus was invented in the 1930s.

This talk looks at how to express functional programming ideas in (post)modern C++ in a way that can be considered idiomatic to C++, rather than trying to use the power of overloading and meta-programming to pretend C++ is Haskell or Lisp. In short, immutability beyond const and into shared and persistent data structures, concurrency beyond threading and locks, and thinking about functions as transformations and units of composition rather than actions.

Speakers
avatar for Kevlin Henney

Kevlin Henney

CO-AUTHOR OF A PATTERN LANGUAGE FOR DISTRIBUTED COMPUTING, UK
Kevlin is an independent consultant and trainer based in the UK. His development interests are in patterns, programming, practice and process. He has been a columnist for various magazines and web sites, including Better Software, The Register, Java Report and the C/C++ Users Journal. Kevlin is co-author of A Pattern Language for Distributed Computing and On Patterns and Pattern Languages, two volumes in the Pattern-Oriented Software Architecture... Read More →


Friday November 18, 2016 3:45pm - 4:40pm
1. Alfa

Attendees (19)



Twitter Feed