The Joy of Clojure, 2/e (Paperback) (克洛傑的樂趣,第二版)

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

商品描述(中文翻譯)

《The Joy of Clojure, Second Edition》是一本深入探討Clojure語言的書籍。這本全面更新至Clojure 1.6的新版不僅僅關注語法,更展示了Clojure的「為什麼」以及如何撰寫流暢的Clojure程式碼。你將學習函數式和聲明式的程式設計方法,並掌握使Clojure如此優雅和高效的技巧。

購買紙本書籍還包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

Clojure程式語言是一種Lisp方言,運行在Java虛擬機和JavaScript運行時上。它是一種函數式程式語言,具有出色的性能、表達能力和穩定性。它提供了內建的並行性和不可變持久數據結構的可預測精確性。而且它非常非常快速。當你看到長長的Java或Ruby程式碼被轉化為幾行Clojure程式碼時,你就會明白為什麼這本書的作者稱它為「令人愉悅的語言」。難怪像Staples這樣的企業把它作為基礎架構的選擇。

《The Joy of Clojure, Second Edition》是一本深入介紹Clojure語言的書籍。這本全面更新至Clojure 1.6的新版不僅僅關注語法,還展示了如何撰寫流暢的Clojure程式碼。你將學習函數式和聲明式的程式設計方法,並掌握使Clojure優雅和高效的技巧。本書還展示了如何解決與並行性、互操作性和性能相關的難題,以及以Clojure方式思考的優點。

適合有一些Clojure或通用Lisp使用經驗的讀者閱讀。

內容包括:
- 使用ClojureScript構建網頁應用程式
- 掌握函數式程式設計技巧
- 簡化並行性
- 覆蓋Clojure 1.6

關於作者:
Michael Fogus和Chris Houser是Clojure和ClojureScript程式語言的貢獻者,也是各種Clojure庫和語言特性的作者。

目錄:
PART 1 基礎
1. Clojure哲學
2. 從Clojure的火水管中喝水
3. 在池塘中蘸腳

PART 2 資料類型
1. 關於標量
2. 集合類型

PART 3 函數式程式設計
1. 懶惰和固執己見
2. 函數式程式設計

PART 4 大規模設計
1. 宏
2. 結合資料和程式碼
3. 變異和並行性
4. 平行性

PART 5 主機共生
1. Java.next
2. 為什麼選擇ClojureScript?

PART 6 周邊考量
1. 面向資料的程式設計
2. 性能
3. 思考程式
4. Clojure改變你的思維方式