You are previewing Clojure in Action.

Clojure in Action

Cover of Clojure in Action by Amit Rathore Published by Manning Publications
O'Reilly logo

Chapter 2. A whirlwind tour


This chapter covers

  • Getting started with Clojure programming
  • Clojure functions
  • Program flow with Clojure
  • Clojure’s core data structures


In the previous chapter, you read about some powerful features of the Clojure language. You saw some code, but it probably looked a little alien. It’s now time to set that right. This chapter and the next address the basics of writing code in Clojure. This one will walk you through the fundamentals of the structure and flow of Clojure programs. It will also give an overview of the various data structures that make up the core of the language. By the end of the next chapter, you’ll be able to read most Clojure code and write your own programs.

2.1. Getting started

The best ...

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