Chapter 3. Asynchronous Programming and Networking
Several business applications need to react to external stimuli—such as network traffic—asynchronously. An example of such software might be a desktop application that allows us to track a company's share prices in the stock market.
We will build this application first using a more traditional approach. In doing so, we will:
- Be able to identify and understand the drawbacks of the first design
- Learn how to use RxClojure to deal with stateful computations such as rolling averages
- Rewrite the example in a declarative fashion using observable sequences, thus reducing the complexity found in our first approach