Programming Clojure, 3/e (Paperback)
Alex Miller, Stuart Halloway, Aaron Bedra
- 出版商: Pragmatic Bookshelf
- 出版日期: 2018-04-03
- 定價: $1,940
- 售價: 9.5 折 $1,843
- 語言: 英文
- 頁數: 304
- 裝訂: Paperback
- ISBN: 1680502468
- ISBN-13: 9781680502466
-
相關分類:
JVM 語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$480$379 -
$580$458 -
$950$808 -
$2,100$1,995 -
$450$356 -
$580$493 -
$1,188Clojure Cookbook: Recipes for Functional Programming (Paperback)
-
$708Web Development with Clojure: Build Bulletproof Web Apps with Less Code 2/e
-
$1,800$1,710 -
$520$442 -
$1,700$1,700 -
$4,620$4,389 -
$1,549Getting Clojure: Build Your Functional Skills One Idea at a Time
-
$580$452 -
$680$530 -
$720$562 -
$600$510 -
$1,650$1,568 -
$2,052Database Internals: A Deep Dive Into How Distributed Data Systems Work (Paperback)
-
$580$458 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$520$406 -
$600$468 -
$1,970$1,872 -
$750$585
相關主題
商品描述
Drowning in unnecessary complexity, unmanaged state, and tangles of spaghetti code? In the best tradition of Lisp, Clojure gets out of your way so you can focus on expressing simple solutions to hard problems. Clojure cuts through complexity by providing a set of composable tools--immutable data, functions, macros, and the interactive REPL. Written by members of the Clojure core team, this book is the essential, definitive guide to Clojure. This new edition includes information on all the newest features of Clojure, such as transducers and specs.
Clojure joins the flexibility and agility of Lisp with the reach, stability, and performance of Java. Combine Clojure's tools for maximum effectiveness as you work with immutable data, functional programming, and safe concurrency to write programs that solve real-world problems.
Start by reading and understanding Clojure syntax and see how Clojure is evaluated. From there, find out about the sequence abstraction, which combines immutable collections with functional programming to create truly reusable data transformation code. Clojure is a functional language; learn how to write programs in a functional style, and when and how to use recursion to your advantage. Discover Clojure's unique approach to state and identity, techniques for polymorphism and open systems using multimethods and protocols, and how to leverage Clojure's metaprogramming capabilities via macros. Finally, put all the pieces together in a real program.
New to this edition is coverage of Clojure's spec library, one of the most interesting new features of Clojure for describing both data and functions. You can use Clojure spec to validate data, destructure data, explain invalid data, and generate large numbers of tests to verify the correctness of your code.
With this book, you'll learn how to think in Clojure, and how to take advantage of its combined strengths to build powerful programs quickly.
What You Need:
- Java 6 or higher
- Clojure 1.9
商品描述(中文翻譯)
淹沒在不必要的複雜性、未管理的狀態和一團亂麻的程式碼中嗎?Clojure 傳承了 Lisp 的最佳傳統,讓你能夠專注於解決困難問題的簡單解決方案。Clojure 通過提供一組可組合的工具 - 不可變數據、函數、宏和互動式 REPL - 來簡化複雜性。這本書是由 Clojure 核心團隊成員撰寫的,是 Clojure 的必備、權威指南。這個新版本包含了有關 Clojure 的所有最新功能的信息,例如 transducers 和 specs。
Clojure 將 Lisp 的靈活性和敏捷性與 Java 的廣泛性、穩定性和性能相結合。結合 Clojure 的工具,以最大效益地使用不可變數據、函數式編程和安全並發性,編寫解決現實世界問題的程序。
首先,閱讀並理解 Clojure 的語法,並了解 Clojure 的求值方式。從那裡,了解序列抽象,將不可變集合與函數式編程相結合,創建真正可重用的數據轉換代碼。Clojure 是一種函數式語言;學習如何以函數式風格編寫程序,以及何時以及如何利用遞歸的優勢。探索 Clojure 對狀態和身份的獨特方法,使用多方法和協議實現多態性和開放系統的技術,以及如何通過宏利用 Clojure 的元編程能力。最後,在一個真實的程序中將所有的部分結合起來。
這個版本新增了對 Clojure 的 spec 库的介紹,這是 Clojure 最有趣的新功能之一,用於描述數據和函數。你可以使用 Clojure spec 驗證數據、解構數據、解釋無效數據,並生成大量測試來驗證代碼的正確性。
通過這本書,你將學習如何以 Clojure 的思維方式思考,並利用其結合的優勢快速構建強大的程序。
所需材料:
- Java 6 或更高版本
- Clojure 1.9