Clojure Programming
Practical Lisp for the Java World
Publisher: O'Reilly Media
Final Release Date: March 2012
Pages: 630

Clojure is a practical, general-purpose language that offers expressivity rivaling other dynamic languages like Ruby and Python, while seamlessly taking advantage of Java libraries, services, and all of the resources of the JVM ecosystem. This book helps you learn the fundamentals of Clojure with examples relating it to the languages you know already, in the domains and topics you work with every day. See how this JVM language can help eliminate unnecessary complexity from your programming practice and open up new options for solving the most challenging problems.



Clojure Programming demonstrates the language’s flexibility by showing how it can be used for common tasks like web programming and working with databases, up through more demanding applications that require safe, effective concurrency and parallelism, data analysis, and more. This in-depth look helps tie together the full Clojure development experience, from how to organize your project and an introduction to Clojure build tooling, to a tutorial on how to make the most of Clojure’s REPL during development, and how to deploy your finished application in a cloud environment.



  • Learn how to use Clojure while leveraging your investment in the Java platform
  • Understand the advantages of Clojure as an efficient Lisp for the JVM
  • See how Clojure is used today in several practical domains
  • Discover how Clojure eliminates the need for many verbose and complicated design patterns
  • Deploy large or small web applications to the cloud with Clojure
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyClojure Programming
 
4.6

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (5)
  • Concise (5)
  • Easy to understand (5)
  • Well-written (5)
  • Helpful examples (4)

Cons

    Best Uses

    • Novice (4)
    • Intermediate (3)
    • Student (3)
      • Reviewer Profile:
      • Developer (4)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

     
    4.0

    Good book

    By Steve Ford

    from Chicago area

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Well-written

    Cons

    • See comments

    Best Uses

      Comments about oreilly Clojure Programming:

      I'm liking this book so far. It moves pretty fast, which I like. The explanations which are there are well-constructed. I'm not very far into it, so I can't comment on its completeness of coverage, but so far I haven't seen any significant gaps.

      Now for the complaints. :-)

      I would have appreciated an early comparison between Clojure and Common Lisp to prevent such newbie mistakes as assuming that () and nil are equivalent. (That fact *is* eventually mentioned, but not until I wasted some time figuring it out.)

      There are too many examples which use functions that are not explained. For example, on page 34 is the example:

      (let [{r1 :x r2 :y :as random}
      (zipmap [:x :y :z] (repeatedly (partial rand-int 10)))]
      (assoc random :sum (+ r1 r2)))

      The functions "zipmap", "repeatedly", "partial", and "assoc" are not explained previously or subsequently in that chapter. I can accept that to a degree, especially if the functions are pretty self-explanatory, these functions are NOT self-explanatory. I like to fully understand examples, and this one literally took me over 20 minutes of web searching to understand. Without that study, the example is worthless to its intended goal of demonstrating retention of the destructured value.

      So if you are using this book, you should have a live browser handy to look up functions. I find http://clojure.org/cheatsheet to be very helpful.

      A final complaint - the index is very poor. This doesn't matter much if you have an electronic version you can search (I bounce between my paper and PDF versions of the book), but for paper-only customers, the index will be a disappointment. For example, it doesn't include standard Clojure functions.

      In spite of those complaints, I do recommend this book for Clojure beginners.

      (1 of 1 customers found this review helpful)

       
      5.0

      Clear, rigorous, and practical. Superb

      By Alexis

      from San Francisco, CA

      About Me Developer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Clojure Programming:

        This is a wonderful book! Just bought it, and I'd say it's one of my favorite technical books of all time, for the interesting subject matter and the excellent treatment.

        It provides unusually clear explanations of some of the subtler parts of Clojure, like the various reference types, and the relationship between namespaces, symbols, vars, and values. It also provides instantly practical advice on day-to-day areas like web development, illustrating the use of popular third-party libraries and discussing the pros and cons of alternative deployment strategies.

        I'd already used Clojure for small projects for a while. But this book helped me solidify my understanding of the language and to get perspective on a lot of rarely summarized issues that you need to understand to use the language in earnest.

        If you're interested in Clojure, and are not already deeply expert, then it's worth it to buy this book. This is especially true for people familiar with lisp dialects but not particularly familiar with the ins and outs of the JVM ecosystem in which Clojure operates.

        (This review is based on the the ePub version, which renders well on iBooks.)

        (3 of 5 customers found this review helpful)

         
        5.0

        best of the bunch

        By rasputnik

        from Cardiff, UK

        About Me Developer, Sys Admin

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate
          • Novice

          Comments about oreilly Clojure Programming:

          Up to date (1.4), great sample code and gets you up and running quickly without skipping the essential low-level concepts.

          One of the best programming language books I've ever read.

          (2 of 3 customers found this review helpful)

           
          4.0

          For hobbyists

          By mko

          from Poland

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Novice
            • Student

            Comments about oreilly Clojure Programming:

            I think I haven't evolved enough to fully appreciate the Clojure. I was thinking that maybe nowadays I will be able to appreciate the functional programming. I am not. I don't find Clojure helpful in my day to day work, however, I definitely value the way topic is presented. Clojure programming is simply well designed book. You can tell that Chas, Brian and Christophe know the subject. If you haven't worked with Clojure before, afraid not, authors will guide you from the very beginning (downloading and installing Clojure) to topics like web development.

            (6 of 7 customers found this review helpful)

             
            5.0

            Very good signal/noise ratio

            By novemberain

            from Moscow, Russia

            About Me Developer, Educator

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Covers the ecosystem
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

            • Not comprehensive enough

            Best Uses

            • Expert
            • Intermediate
            • Novice
            • Student

            Comments about oreilly Clojure Programming:

            Very good signal/noise ratio: approachable, the most practical yet thorough book on Clojure. Good introduction to Clojure's state/identity/concurrency philosophy, functional programming and the Clojure ecosystem. When asked "what book on Clojure should I read?" I now says "Clojure Programming from O'Reilly"

            Displaying reviews 1-5

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook: $42.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook: $54.99
            Print: $49.99