A fully revised edition that covers the new features available in Clojure 1.6.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Clojure is a modern Lisp for the JVM. It has the strengths you first-class functions, macros, and Lisp's clean programming style. It supports functional programming, making it ideal for concurrent programming and for creating domain-specific languages. Clojure lets you solve harder problems, make faster changes, and end up with a smaller code base. It's no wonder that there are so many Clojure success stories.
About the Book
Clojure in Action, Second Edition is an expanded and improved version that's been updated to cover the new features of Clojure 1.6. The book gives you a rapid introduction to the Clojure language, moving from abstract theory to practical examples. You'll start by learning how to use Clojure as a general-purpose language. Next, you'll explore Clojure's efficient concurrency model, based on the database concept of Software Transactional Memory (STM). You'll gain a new level of productivity through Clojure DSLs that can run on the JVM. Along the way, you'll learn countless tips, tricks, and techniques for writing smaller, safer, and faster code.
What's Inside
About the Reader
Assumes readers are familiar with a programming language like C, Java, Ruby, or Python.
This is the third or fourth Clojure book I've read and it's definitely the most useful. It's pitched at competent programmers who don't necessarily have any functional programming experience. The book strikes a great balance between discussing the features of the language itself and covering the more practical aspects of real world usage with databases, web programming, unit testing, message queues and more. Highly recommended.
* this is a rated review of a book, not a language! *
Very dense, intensive & demanding (no easy fly-by), but on the other hand also very competent & packed with reasonably filtered material. Contains pretty much everything you need to start writing Clojure *language-wise* & even much more. Why language-wise? Because there'a almost nothing about the tooling - IDEs & other enhancements that could appear helpful in starting adventures in Clojure.
If you've seen the criticism for Edition One, I've got good news for you - at least in my opinion they do not apply to Edition Two.
Book is relatively up-to-date. AFAIR it covers 1.6 while the latest version (at the moment I'm writing this review) is 1.8.
What I really liked, NO, even loved about this book is that it doesn't follow the usual boring route of presenting just the basic syntax elements & 101 code samples - author isn't afraid of digging into actual reationale behind some more advanced constructs, some macro / closure considerations are really thorough, complex & require full focus to follow. Thumbs UP!
It's not the easiest lecture, but if you're already an experienced functional programmer who wants to learn Clojure - this book may be exactly for you! Recommended.
If you ever wondered what's all the hype about Clojure, and how is it possible that a dialect of Lisp could be used in production environments, then you should read this book. The author not only explains the core language in a simple and elegant way but he also gives a solid introduction to how to use Clojure in different domains such as Data Analysis, Distributed Computing and NoSQL Databases.
This should not be your first book in Lisp family of languages, as it has pretty steep learning curve - also some experience with the functional programming is recommended.
The book gives a very nice overview of the Clojure philosophy and various aspects of programming in Clojure style.
A nice overview of the language and the popular libraries. But be careful, this is not a reference book or any close to it.
I've read the "early access" version, which was full of errors (and I didn't see them fixed in future versions); without these errors, it would probably be four stars.
I didn't make it through the whole book, but I gave it two tries. I think that Clojure has a lot to offer, but its simplicity doesn't always shine through with this book. I am hoping to read another book on Closure at some time. Possibly The Joy of Clojure will be a better read.
A book full of inspirations for implementing idiomatic and well designed Clojure programs. A resourceful book that explores different aspects of real-life programming challenges with one of the most intriguing technologies around.
Really excellent book. It focuses on Lisp as a concept, and how Clojure enables the Lisp mindset. The practical examples are more about teaching one how to think rather than a cookbook-style approach of "here's how you use Redis in Clojure".
My first book on Clojure...good introduction but sadly, being Clojure still a young language...some of the examples don't compile...still...nice book to get started...