July 2023
Intermediate to advanced
276 pages
6h 55m
English
Your users don’t care what programming style you use. Whether you implement code using the imperative style or the functional style, the result should be the same. Your programs have to handle failures gracefully, no matter which paradigm you chose. In this section, we’ll start with imperative style code that takes us directly into the heart of dealing with failures. Once we see how the code handles exceptions and the output of the program, we’ll look at options to turn that code into the functional style and verify that the output matches that of the imperative style code.
We’re going to work with the requirements from the previous section: given a list of airport IATA codes, retrieve and print the names ...
Read now
Unlock full access