June 2017
Intermediate to advanced
532 pages
12h 59m
English
When a program communicates with the outside world and relies on values it gets from there, then all kinds of failures can happen.
This means that whenever we write a function that ought to return a value, but that can also possibly fail, then this must be reflected in some change of the function interface. We have several possibilities. Let's see how we can design the interface of a function that will return a string, but that could also fail:
Read now
Unlock full access