Summary

In this chapter, I've intentionally spent most of my time exploring the math in each equation and the algorithmic steps needed to arrive at a desired endpoint. By now, you can see how Clojure is a tool that lets you easily represent data and quickly perform calculations. As with Christophe Grande's suggestion, we want to let data drive the design of our software. We also want a loose coupling of our software, which will allow an orthogonal design. This means that small pieces will be easily composed into a larger whole. This also means minimizing the amount of baggage data or extra stuff (also known as local or dangling state) we carry in our data structures to only allow what's necessary in performing a given calculation.

In Chapter 5, Traversing Data, Branching, and Conditional Dispatch, we're going to do a larger code refactoring of our original time series generator. Let's see what kind of cleanup we can perform there.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.93.132