Chapter 1Hello, Clojure

This is where the fun starts: In this chapter I’m going to take you through the basic elements of Clojure, at the just enough knowledge to be dangerous level. By the time you get to the end of this chapter you’ll be familiar with Clojure’s very simple syntax and you’ll know about many of the basic Clojure data types. Most importantly, you will be able to create and use the fundamental unit of Clojure code, the function. A couple of things to keep in mind as you read:

First, I can’t actually teach you Clojure. All I can do is to serve as your guide, to take you around, show you the sights, point out the cool bits, and warn you about the occasional pothole. It’s up to you, armed with patience and a keyboard, to do the ...

Get Getting 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.