March 2018
Intermediate to advanced
360 pages
6h 59m
English
In this chapter, we will cover the following recipes:
Mistakes happen, and that's okay. We are only human after all. The important thing in life and in programming is not which errors we make, but how we deal with them. Rust helps us with the programming aspect of this principle by providing us with an error handling concept that guarantees that we have to think about the consequences of failure when dealing with functions that can fail, as they don't return a value directly but wrapped in a Result that has to be opened somehow. The only thing left is designing our code in a way that integrates ...
Read now
Unlock full access