O'Reilly logo

Clojure Applied by Alex Miller, Ben Vandgrift

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix 2Thinking in Clojure

When you choose to adopt Clojure (and its learning curve), you’re selecting an implementation, a platform, and a set of features. You’re also accepting certain limitations, some cultural baggage, and a peer group. Most important, you’re learning to think in Clojure. This can be especially challenging if you’re coming from an object-oriented language.

A clear understanding of the foundations of Clojure’s design will help align your thinking with Clojure’s implementation (see Appendix 1, Roots). If you keep these guidelines in mind, you’ll find yourself swimming with the current, rather than against it:

  • Make reasoned choices

  • Be reasonable

  • Build just enough

  • Compose

  • Be precise

  • Use what works

An explanation of each ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required