The Joy of Clojure, 2/e (Paperback)
暫譯: Clojure 的樂趣,第二版 (平裝本)

Michael Fogus, Chris Houser

買這商品的人也買了...

相關主題

商品描述

Summary

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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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.

About the Book

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

About the Authors

Michael Fogus and Chris Houser are contributors to the Clojure and ClojureScript programming languages and the authors of various Clojure libraries and language features.

Table of Contents

    PART 1 FOUNDATIONS
  1. Clojure philosophy
  2. Drinking from the Clojure fire hose
  3. Dipping your toes in the pool
  4. PART 2 DATA TYPES
  5. On scalars
  6. Collection types
  7. PART 3 FUNCTIONAL PROGRAMMING
  8. Being lazy and set in your ways
  9. Functional programming
  10. PART 4 LARGE-SCALE DESIGN
  11. Macros
  12. Combining data and code
  13. Mutation and concurrency
  14. Parallelism
  15. PART 5 HOST SYMBIOSIS
  16. Java.next
  17. Why ClojureScript?
  18. PART 6 TANGENTIAL CONSIDERATIONS
  19. Data-oriented programming
  20. Performance
  21. Thinking programs
  22. Clojure changes the way you think

商品描述(中文翻譯)

**摘要**
《Clojure的樂趣,第二版》深入探討Clojure語言。這一新版已全面更新至Clojure 1.6,不僅僅是語法,還向您展示了Clojure的「為什麼」以及如何編寫流暢的Clojure代碼。您將學習函數式和聲明式的編程方法,並掌握使Clojure如此優雅和高效的技術。

購買印刷版書籍可免費獲得Manning Publications提供的PDF、Kindle和ePub格式的電子書。

**關於技術**
Clojure編程語言是運行在Java虛擬機和JavaScript運行時的Lisp方言。它是一種函數式編程語言,通過設計提供卓越的性能、表達能力和穩定性。它內建了並發性,並提供不可變和持久數據結構的可預測精確性。而且它真的非常快。當您看到長長的Java或Ruby代碼塊縮減為幾行Clojure代碼時,您就會明白為什麼這本書的作者稱其為「愉快的語言」。難怪像Staples這樣的企業將其基礎設施押注於Clojure。

**關於本書**
《Clojure的樂趣,第二版》是對Clojure語言的深入介紹。這一新版已全面更新至Clojure 1.6,超越語法,向您展示如何編寫流暢的Clojure代碼。您將學習函數式和聲明式的編程方法,並掌握使Clojure優雅和高效的技術。本書展示了如何解決與並發性、互操作性和性能相關的難題,以及以Clojure的方式思考是多麼美好。

適合有一定Clojure或常見Lisp使用經驗的讀者。

**內容概覽**
- 使用ClojureScript構建網頁應用程式
- 精通函數式編程技術
- 簡化並發性
- 涵蓋Clojure 1.6

**關於作者**
**Michael Fogus**和**Chris Houser**是Clojure和ClojureScript編程語言的貢獻者,並且是各種Clojure庫和語言特性的作者。

**目錄**
**第一部分 基礎**
- Clojure哲學
- 從Clojure的火水管中飲水
- 在泳池中試水

**第二部分 數據類型**
- 關於標量
- 集合類型

**第三部分 函數式編程**
- 懶惰和固執
- 函數式編程

**第四部分 大規模設計**
- 宏
- 數據和代碼的結合
- 變異和並發性
- 平行性

**第五部分 主機共生**
- Java.next
- 為什麼選擇ClojureScript?

**第六部分 相關考量**
- 數據導向編程
- 性能
- 思考程序
- Clojure改變您的思維方式