July 2020
Intermediate to advanced
360 pages
7h 8m
English
In all styles seen before, except the Lazy Rivers style in Chapter 28, the program takes input in the beginning, processes that input, and shows information on the screen at the end. Many modern applications have that characteristic, but many more have a very different nature: they take input continuously, or periodically, and update their state accordingly; there may not even be an “end of the program” as such. These applications are called interactive. Interaction may come from users or from other components, and it requires additional thought on how and when to update the observable output of the program. The next two chapters show two well-known styles for dealing with interactivity.
Read now
Unlock full access