“It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.”
-Structure and Interpretation of Computer Programs, pg xvii
Clojure programming language docs and tutorials. Welcome to modern functional programming.
“It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.”
-Structure and Interpretation of Computer Programs, pg xvii
The book, Structure and Interpretation of Computer Programs, is considered one of the top necessary reads for software engineers. It is a fairly expensive book to buy hard copies of. Luckily, the authors generously provide a PDF version for free. Currently, you can download the free version from the sicp-pdf on GitHub. Also, MIT offers a free download at https://web.mit.edu/alexmv/6.037/sicp.pdf.
Structure and Interpretation of Computer Programs is written in Scheme, but is all applicable to Clojure. Functional programming is taught thoroughly, along with lazy sequences and higher order functions.
Structure and Interpretation of Computer Programs doesn’t ignore the other side of the fence. It also goes over objects, state, and mutable data.
This is a Computer Science book, so expect some deep thinking and descriptions. But, if you’re looking to improve your software engineering skills, give reading this book a go.