EBOOK

About
The Joy of Clojure, Second Edition is a deep look at the Clojure language. Fully updated for Clojure 1.6, this new edition goes beyond just syntax to show you the "why" of Clojure and how to write fluent Clojure code. You'll learn functional and declarative approaches to programming and will master the techniques that make Clojure so elegant and efficient.
About the Technology
The Clojure programming language is a dialect of Lisp that runs on the Java Virtual Machine and JavaScript runtimes. It is a functional programming language, that offers great performance, expressive power, and stability by design. It gives you built-in concurrency and the predictable precision of immutable and persistent data structures. And, it's really, really fast. The instant you see long blocks of Java or Ruby dissolve into a few lines of Clojure, you'll know why the authors of this book call it a "joyful language." It's no wonder that enterprises like Staples are betting their infrastructure on Clojure.
The Joy of Clojure, Second Edition is a deep account of the Clojure language. Fully updated for Clojure 1.6, this new edition goes beyond the syntax to show you how to write fluent Clojure code. You'll learn functional and declarative approaches to programming and will master techniques that make Clojure elegant and efficient. The book shows you how to solve hard problems related to concurrency, interoperability, and performance, and how great it can be, to think in the Clojure way.
Appropriate for readers with some experience using Clojure or common Lisp.
What's Inside
• Build web apps using ClojureScript
• Master functional programming techniques
• Simplify concurrency
• Covers Clojure 1.6
Table of Contents
PART 1 FOUNDATIONS
• Clojure philosophy
• Drinking from the Clojure fire hose
• Dipping your toes in the pool. PART 2 DATA TYPES
• On scalars
• Collection types. PART 3 FUNCTIONAL PROGRAMMING
• Being lazy and set in your ways
• Functional programming. PART 4 LARGE-SCALE DESIGN
• Macros
• Combining data and code
• Mutation and concurrency
• Parallelism. PART 5 HOST SYMBIOSIS
• Java.next
• Why ClojureScript?
PART 6 TANGENTIAL CONSIDERATIONS
• Data-oriented programming
• Performance
• Thinking programs
• Clojure changes the way you think
About the Technology
The Clojure programming language is a dialect of Lisp that runs on the Java Virtual Machine and JavaScript runtimes. It is a functional programming language, that offers great performance, expressive power, and stability by design. It gives you built-in concurrency and the predictable precision of immutable and persistent data structures. And, it's really, really fast. The instant you see long blocks of Java or Ruby dissolve into a few lines of Clojure, you'll know why the authors of this book call it a "joyful language." It's no wonder that enterprises like Staples are betting their infrastructure on Clojure.
The Joy of Clojure, Second Edition is a deep account of the Clojure language. Fully updated for Clojure 1.6, this new edition goes beyond the syntax to show you how to write fluent Clojure code. You'll learn functional and declarative approaches to programming and will master techniques that make Clojure elegant and efficient. The book shows you how to solve hard problems related to concurrency, interoperability, and performance, and how great it can be, to think in the Clojure way.
Appropriate for readers with some experience using Clojure or common Lisp.
What's Inside
• Build web apps using ClojureScript
• Master functional programming techniques
• Simplify concurrency
• Covers Clojure 1.6
Table of Contents
PART 1 FOUNDATIONS
• Clojure philosophy
• Drinking from the Clojure fire hose
• Dipping your toes in the pool. PART 2 DATA TYPES
• On scalars
• Collection types. PART 3 FUNCTIONAL PROGRAMMING
• Being lazy and set in your ways
• Functional programming. PART 4 LARGE-SCALE DESIGN
• Macros
• Combining data and code
• Mutation and concurrency
• Parallelism. PART 5 HOST SYMBIOSIS
• Java.next
• Why ClojureScript?
PART 6 TANGENTIAL CONSIDERATIONS
• Data-oriented programming
• Performance
• Thinking programs
• Clojure changes the way you think