Synopses & Reviews
This book is the first definitive reference for the Clojure language, providing both an introduction to functional programming in general and a more specific introduction to Clojure's features. This book demonstrates the use of the language through examples, including features such as software transactional memory (STM) and immutability, which may be new to programmers coming from other languages. Overview of functional programming and description of what sets Clojure apart from other languages Detailed explanation of Clojure's special features Examples of real-world tasks that are well-suited to Clojure's capabilities, starting with simple tasks and moving on to more complex applications What you?ll learn What Clojure is?more than just another Lisp How to set up a Clojure environment The structure and syntax of a Clojure program Java interoperability How to use Clojure for real-world tasks Common idioms of Clojure code Who this book is for
There are two audiences for this book: any technical person desiring to know what Clojure is and why they might want to use it, and any programmer desiring to learn and use the language. The goals of these two audiences mesh nicely, given that Clojure has several new, cutting-edge features that programmers are unlikely to have encountered before. Table of Contents The Clojure Way The Clojure Environment Controlling Program Flow Data in Clojure Sequences State Management Namespaces and Libraries Metadata Multimethods and Hierarchies Java Interoperability Parallel Programming Macros and Metaprogramming Datatypes and Protocols Performance
Synopsis
This book is a comprehensive guide to Clojure, meant to be read either chapter-by-chapter or used as a reference by more experienced Clojure developers. Clojure is a new functional programming language that has a very rapidly growing user base. For example, Clojure's primary mailing list has had more traffic in 2009 than those of Scala and Groovy (its closest relatives) put together, despite the fact that they have been in existence since 2003. Also, although Clojure 1.0 was only released in early May of 2009, it is already being used in several production projects. Currently, Clojure users depend on mailing lists, documentation, and a tutorial book to help them learn the details of the language. The Definitive Guide to Clojure will provide clear, up-to-date explanations and examples for developers interested in learning Clojure and applying it to their own projects.
- An overview of functional programming for those with an object-oriented background;
- Hands-on learning, but also designed for reference Real-world tasks suited to Clojurea (TM)s unique features.