You are previewing The Joy of Clojure.

The Joy of Clojure

Cover of The Joy of Clojure by Chris Houser... Published by Manning Publications
O'Reilly logo

Chapter 6. Being lazy and set in your ways

 

 

We’ve now reached the apex of imperative knowledge and stand at the precipice leading toward functional programming. We mentioned in section 2.3 that the definitions of functional programming are widely disparate, and unfortunately this book won’t work to unify them. Instead, we’ll start in this chapter to build a basis for Clojure’s style of functional programming by digging into its core supporting maxims. In addition, this chapter covers in greater depth the parts of Clojure’s composite types that we only touched on.

6.1. On immutability

We’ve touched on immutability throughout ...

The best content for your career. Discover unlimited learning on demand for around $1/day.