
上QQ阅读APP看书,第一时间看更新
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 on the stock market.
We will build this application using a more traditional approach. In doing so, we will be able to do the following:
- 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