Programming Clojure, 3/e (Paperback)
暫譯: 編程 Clojure, 第三版 (平裝本)
Alex Miller, Stuart Halloway, Aaron Bedra
- 出版商: Pragmatic Bookshelf
- 出版日期: 2018-04-03
- 定價: $1,940
- 售價: 8.8 折 $1,707
- 語言: 英文
- 頁數: 304
- 裝訂: Paperback
- ISBN: 1680502468
- ISBN-13: 9781680502466
-
相關分類:
JVM 語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$480$379 -
$580$458 -
$950$751 -
$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,710$1,620 -
$520$442 -
$1,700$1,700 -
$4,620$4,389 -
$1,434Getting Clojure: Build Your Functional Skills One Idea at a Time
-
$580$452 -
$680$530 -
$720$562 -
$1,650$1,568 -
$2,124Database Internals: A Deep Dive Into How Distributed Data Systems Work (Paperback)
-
$580$458 -
$1,750$1,663 -
$520$406 -
$600$468 -
$600$468 -
$1,970$1,872 -
$750$375
相關主題
商品描述
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
商品描述(中文翻譯)
淹沒在不必要的複雜性、未管理的狀態和糾結的意大利麵條代碼中?在 Lisp 的最佳傳統中,Clojure 讓你不受干擾,專注於表達簡單的解決方案來解決困難的問題。Clojure 通過提供一組可組合的工具——不可變數據、函數、宏和互動式 REPL,來切割複雜性。本書由 Clojure 核心團隊成員撰寫,是 Clojure 的基本、權威指南。這個新版本包含了 Clojure 所有最新功能的信息,例如轉換器(transducers)和規範(specs)。
Clojure 將 Lisp 的靈活性和敏捷性與 Java 的可擴展性、穩定性和性能相結合。在處理不可變數據、函數式編程和安全並發時,結合 Clojure 的工具以達到最大的效果,編寫解決現實世界問題的程序。
首先閱讀並理解 Clojure 語法,了解 Clojure 是如何被評估的。接著,了解序列抽象,它將不可變集合與函數式編程結合,創建真正可重用的數據轉換代碼。Clojure 是一種函數式語言;學習如何以函數式風格編寫程序,以及何時和如何利用遞歸來獲得優勢。發現 Clojure 對狀態和身份的獨特方法,使用多方法(multimethods)和協議(protocols)進行多態性和開放系統的技術,以及如何通過宏利用 Clojure 的元編程能力。最後,將所有部分組合在一個實際的程序中。
本版新增了 Clojure 的規範庫(spec library)的內容,這是 Clojure 中描述數據和函數的最有趣的新功能之一。你可以使用 Clojure 規範來驗證數據、解構數據、解釋無效數據,並生成大量測試以驗證你的代碼的正確性。
通過本書,你將學會如何用 Clojure 思考,以及如何利用其結合的優勢快速構建強大的程序。
你需要的條件:
- Java 6 或更高版本
- Clojure 1.9