Appendix 2Clojure Primer

As there are numerous books already available for learning Clojure, I’ll keep this overview short. Even if you’re not familiar with Clojure, I hope you’ll find that most of the code in this book is easy to follow. Instead of looking at syntax in depth, I’d like to briefly go over the way Clojure programs are structured and some of the unique aspects of the language.

At first glance Clojure code can look rather alien and you might even feel that it’s more difficult to read than other languages. I assure you that Clojure code is not inherently more difficult to understand, and with a bit of practice you might even feel it’s quite the opposite.

Most of the differences between the mainstream languages are simply syntactic ...

Get Web Development with Clojure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.