Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Programming Clojure Paperback – Jun 7 2009


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 26.00 CDN$ 1.91

There is a newer edition of this item:

Programming Clojure
CDN$ 30.51
Usually ships within 1 to 4 weeks.

2014 Books Gift Guide
Thug Kitchen is featured in our 2014 Books Gift Guide. More gift ideas

Special Offers and Product Promotions

  • Join Amazon Student in Canada


Customers Who Bought This Item Also Bought



Product Details

  • Paperback: 304 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (June 7 2009)
  • Language: English
  • ISBN-10: 1934356336
  • ISBN-13: 978-1934356333
  • Product Dimensions: 19 x 2.3 x 22.9 cm
  • Shipping Weight: 612 g
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #493,275 in Books (See Top 100 in Books)

Product Description

About the Author

Stuart Halloway is a member of Clojure/core and CTO at Relevance, where he spends his time on secret projects for world domination, and watching Phineas and Ferb.

Customer Reviews

5.0 out of 5 stars
5 star
1
4 star
0
3 star
0
2 star
0
1 star
0
See the customer review
Share your thoughts with other customers

Most helpful customer reviews

1 of 1 people found the following review helpful By Chris Maguire on March 18 2011
Format: Paperback Verified Purchase
This book is an excellent introduction to Clojure; Halloway has a writing style that is interesting, light, easy and personable. Some books come across like they were written by a committee whereas Halloway's book comes across like it was written by one of your friends. (One of your _intelligent_ friends!)

The examples are great and every new feature that made it into an example was explained immediately, especially if it wasn't something that pertained to the topic. This book isn't a reference, and doesn't read like one; however, I've got it marked up and bookmarked to go back to check out examples and sections.

Halloway is right in there when it comes to Clojure development and he knows of what he writes.

Well done.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 26 reviews
89 of 93 people found the following review helpful
Here is a "just average" book about an amazing, momentous language Dec 17 2009
By Kelly Jones - Published on Amazon.com
Format: Paperback
It is hard to be objective when reviewing this book. I have struggled to separate my enthusiasm for "Clojure The Language" from my honest opinion of "Clojure The Book".

Clojure is a remarkable language.

Clojure The Language deserves five stars every day of the week and twice on Sunday.

Clojure "The Book", on the other hand, is simply passable. The book is "okay".

Clojure is remarkable partly because Lisp is remarkable, and partly because Clojure has taken the difficult concept of concurrency and turned it into an exhilarating, attractive, efficient, sensible tool. I highly recommend that all curious programmers try the Clojure language.

Unfortunately, I cannot give this book a high recommendation. This is not a bad book. But it is definitely not a 5-star book.

The 5-star score would place this book in the same category as such beloved books as the Flanagan/Matsumoto Ruby book, or Meyers' Effective C++, or even Rossum's original (now deprecated) An Introduction to Python. Scoring the Stuart Halloway book as "on par" with those other books just simply does not ring true.

The Stuart Halloway book is a fast and easy read. However, it is more like a series of really nice blog entries than a solid introductory programming language book. I enjoyed Stuart's writing style, and I even enjoyed all of the sample code.

However, at the end of the day, "there is no there there".

I needed to refer to other books in order to become PRODUCTIVE with Clojure. When I purchased the Halloway book, no other Clojure books had been written yet, so I relied upon books that were written about coding techniques in other flavors of Lisp.

Reading the Halloway book was like watching a really fun and captivating movie trailer. It made me stop and say "Wow! That was cool! ... um... okay. Now can I watch the entire movie?"

If you are already fluent in another Lisp dialect, then you probably do not need this book.

In fact, if you already know some variant of Lisp, then you need to learn about the JVM and various Java platform ideas far more than you need to study Clojure itself. Clojure itself will come naturally to a "lisper". Yet you may be mystified about where to put your jar files and about what the various Java exceptions are telling you. And if you want to debug your Clojure programs, you will likely be using a Java debugger.

If you know Lisp, you can combine that previous knowledge with the Clojure API documentation, and the excellent Mark Volkmann website, and that will probably be enough. An "industrial strength" book on Java (including various compilation and deployment techniques) will help you much more than a book on Clojure.

If you have never programmed in any sort of Lisp at all, then I can almost guarantee that this book on Clojure will not be enough to get you fully "up and running" with Clojure. Most certainly you will learn how to write small scripts and games like the ones demonstrated in the book, but you will probably start to feel the weakness of this book as soon as you want to build something larger.
26 of 29 people found the following review helpful
Does Justice to an Exciting New Programming Language May 29 2009
By Karl Rosaen - Published on Amazon.com
Format: Paperback
The chances are slim that you are considering buying this book because your job requires you use Clojure, but rather, like me, you are wondering whether Clojure is worth your time. Is it just another programming language fad? What can I do with it that I can't with more established languages like C++, Java or Python? If and only if you are satisfied that it is worth your time will you begin to want to know all of the details of how to use Clojure.

Programming Clojure strikes a nice balance between these two jobs, both justifying Clojure's existence, and lucidly explaining its key features. After a Foreword by Rich Hickey, the language's founder, the preface highlights its key features, and provides a frame of reference for how to think about Clojure from a variety of perspectives (coming from an OO, functional or lisp background). From there it's off to the races.

I bought a preview of this book and actually spent the better part of a Saturday plowing through much of it on my laptop, switching over to the command line to play along. Since then, I have gone back to re-read different sections as needed. Though the public documents at clojure.org are quite good, this book is definitely worth paying for if you are serious about learning Clojure.

Finally, it's worth mentioning that my experience buying the ebook / print combo directly from the publisher's site was good, providing both pdf and a variety of ebook formats (including one that looks nice on the kindle).
14 of 15 people found the following review helpful
Overrated Sept. 28 2010
By Robert P. Seaton - Published on Amazon.com
Format: Paperback Verified Purchase
This book lacks anything close to sufficient depth. Clojure is a deep language and Programming Clojure simply fails to do it justice. Most of the book reads like API documentation. The example code, mostly one liners, leave the reader feeling unsatisfied. What if I want to write a program that's more than five lines of code?

Stuart Halloway glosses over Clojure's fundamental language paradigms, like functional programming, recursion, and Java. While I suspect it would be near impossible to explain functional programming without devoting an entire book to it, Stuart Halloway doesn't even try, instead hoping that the reader will magically figure it out on his own.

The layout of the book is plain frustrating, leading me to wonder if Halloway actually wrote the chapters in the order that they're presented. More than once, Halloway uses the obnoxious literary device of referring to chapters after the current one. "We'll talk about this more in Chapter 18!" Just let me read the chapters in order, Stuart!

Save yourself some mental anguish and purchase The Joy of Clojure: Thinking the Clojure Way or Practical Clojure (Expert's Voice in Open Source) instead.
24 of 28 people found the following review helpful
Two thumbs up... way up! June 1 2009
By Tim Riddell - Published on Amazon.com
Format: Paperback
Clojure is a breath of fresh air as well as a history lesson to all of us Java programmers who were raised on object-orientation and (possibly) over-medicated with design patterns. Functional programming with a dynamic, Lisp-based language that has the power of the libraries within the Java ecosystem is both extremely freeing as well as extremely fun.

Progamming Clojure provides gentle yet thorough coverage to what is a new world for many of us. I've found Clojure great for new, green-field development projects but it's also very nice in existing Java environments. For example, I've used the skills acquired in this book to use Clojure for writing Eclipse plug-ins, JSR-286 portlets and even for REST/JSON services running on Google App Engine. Frankly, coming from a person who has also tried out many other alternative languages (including Python, Groovy, Scala, Ruby, etc.), Clojure has made programming more cerebral, productive and exciting all at the same time.
9 of 10 people found the following review helpful
Is different good or bad? June 29 2009
By Scott Davis - Published on Amazon.com
Format: Paperback
The answer is, of course, that different is simply different. Whether it's good or bad depends on your tolerance for change. I've spent years as a Groovy/Java developer. That experience makes Clojure's dialect seem quite exotic. If, on the other hand, I was a Lisp programmer from way back, Clojure would most likely seem intuitively obvious.

As an object-oriented programmer, when learning a new language I immediately look for ways to do familiar things like define classes and declare variables. Clojure is a functional language -- there are no POCOs (for lack of a better metaphor), but there are defstructs. Everything is a function. Immutability is the default.

This impedance mismatch between my world view and Clojure's is captured best in the "Where's my for loop?" section. The answer -- "Clojure's for is not a loop but a sequence comprehension" -- tells me that I'm not dealing with a language that will simply require me to put my parentheses in a slightly different order. I'm dealing with some serious metaphor shear.

That said, I think that Programming Clojure does a great job of introducing these concepts in a brisk, approachable way. Another reviewer complained of spending too much time in REPL (an interactive Clojure shell -- think BeanShell for Java, groovysh for Groovy, irb for Ruby, etc.). I found Stuart's REPL-centric approach to learning Clojure to be a huge plus -- it gave me a sandbox to explore the language, experiment with the syntax, and run the code as I read it. This isn't a book that I could simply skim -- I had the Kindle edition open, sitting next to my laptop with a REPL session running at all times. Stuart also talks about compiling and deploying Clojure in production, but as a learning tool, REPL's pedagogic value simply cannot be overstated.

The fact that Clojure runs on the JVM, and allows you to call into any Java class, gave me the best chance to see these two very different worlds running side by side. There is an entire chapter dedicated to Clojure/Java interaction. As Stuart says, "When you call Java [from Clojure], you enter the familiar, mutable world. This offers a comfortable haven for beginners learning functional programming and a pragmatic alternative to functional style when you need it." The examples involving the Collections API, JDBC, and even simple HTML output, were the most helpful to me. They demonstrated not just the syntactic differences between these two languages, but the semantic differences as well.

As you can probably guess from my 5 star rating of Programming Clojure, I think that "different" in this case is unquestionably good. Reading this book has stretched me in new directions. Each time you learn a new language, it makes you better programmer -- even in languages you already know. It forces you to reconsider your existing, tried-and-true approach to solving problems. Programming Clojure is a long-term investment in my knowledge portfolio.


Feedback