Loading…
CppCon 2019 has ended
Tuesday, September 17 • 09:00 - 10:00
Error Handling is Cancelling Operations

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

When we first learn how to write programs, especially how to handle errors, we are given lots of advice saying do this, don't do that. Sometimes with rationale and sometimes not; but it is often difficult to make mental model that would make it easy to understand why we are doing it this way and not another, and why we have to follow this and this rule.

In this talk I will share an important observation: error handling -- be it error codes, errno, exceptions, error monad -- is about cancelling dependent operations. If we understand this, lots of recommended practices immediately start to make sense and become intuitive.

Speakers
avatar for Andrzej Krzemieński

Andrzej Krzemieński

Software developer, Sabre Polska
Andrzej is a software developer since 2004. He works mostly with C++ in commercial software, which includes safety-related and high-performance systems. He is a member of the C++ Standards Committee and a Boost developer. He is also a co-organizer of C++ User Group Krakow. Known to... Read More →


Tuesday September 17, 2019 09:00 - 10:00
Summit 8/9

Attendees (224)




Twitter Feed