Loading…
CppCon 2016 has ended
Monday, September 19 • 11:00am - 12:00pm
Using Types Effectively

Log in to save this to your schedule and see who's attending!

C++ has a pretty good type system, and modern C++ gives us a greater ability than ever before to use that type system for good: to make APIs easier to use and harder to misuse, to make our datatypes more closely express our intent, and generally to make code safer, more obvious in function and perhaps even faster.

This is an interactive session - incorporating games played between presenter and audience, even - taking a look at choices available to us as datatype and API designers, and examining how a little knowledge about the algebra of algebraic datatypes can help. We'll see why std::optional and (hopefully soon) std::variant will quickly become an essential part of everyone's toolbox, and also explore how types can be used to express not just the structure of data, but also the behaviour of objects and functions.

Speakers
avatar for Ben Deane

Ben Deane

Ben was in the game industry for 23 years, at companies like EA and Blizzard. He's always looking for useful new techniques in C++, and hegeeks out on algorithms, APIs, types and functional programming.


Monday September 19, 2016 11:00am - 12:00pm
Bowie Hall (1st Floor Hall) Meydenbauer Center

Attendees (195)