Loading…
Attending this event?
View analytic
Monday, September 24 • 16:45 - 17:45
Expect the Expected

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

Writing code that is resilient upon errors has always been a pain point in all languages. Exceptions are the politically correct means to signal errors in C++, but many applications still resort to error codes for reasons related to ease of understanding, ease of handling errors locally, and efficiency of generated code.

This talk shows how a variety of theoretical and practical artifacts can be combined together to address error codes and exceptions in one wholesome, simple package. The generic type expected<T> can be used for both local (error-code-style) and centralized (exception-style) manners, drawing from the strengths of each.

Speakers
avatar for Andrei Alexandrescu

Andrei Alexandrescu

Vice President, D Language Foundation
Andrei Alexandrescu is a researcher, software engineer, and author. He wrote three best-selling books on programming (Modern C++ Design, C++ Coding Standards, and The D Programming Language) and numerous articles and papers on wide-ranging topics from programming to language design... Read More →


Monday September 24, 2018 16:45 - 17:45
B
  • Level Intermediate, Advanced, Expert
  • Tags C++20

Attendees (101)