Getting Clojure: Build Your Functional Skills One Idea at a Time
暫譯: 掌握 Clojure:逐步建立你的函數式技能

Russ Olsen

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2018-06-12
  • 定價: $1,630
  • 售價: 8.8$1,434
  • 語言: 英文
  • 頁數: 290
  • 裝訂: Paperback
  • ISBN: 1680503006
  • ISBN-13: 9781680503005
  • 相關分類: JVM 語言
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Behind every programming language lies a vision of how programs should be built. The vision behind Clojure is of a radically simple language framework holding together a sophisticated collection of programming features. Learning Clojure involves much more than just learning the mechanics of the language. To really get Clojure you need to understand the ideas underlying this structure of framework and features. You need this book: an accessible introduction to Clojure that focuses on the ideas behind the language as well as the practical details of writing code.

Clojure attracts developers on the cutting edge and is arguably the best language for learning to program in the functional style without compromise. But this comes with a steep learning curve. Getting Clojure directly addresses this by teaching you how to think functionally as it teaches you the language. You'll learn about Clojure's powerful data structures and high-level functions, but you'll also learn what it means for a language to be functional, and how to think in Clojure's functional way.

Each chapter of Getting Clojure takes a feature or two or three from the language, explains the syntax and the mechanics behind that feature so that you can make it work before digging into the deeper questions: What is the thinking behind the feature? And how does it fit in with the rest of the language? In Getting Clojure you'll learn Clojure's very simple syntax, but you'll also learn why that syntax is integral the way the language is constructed. You'll discover that most data structures in Clojure are immutable, but also why that leads to more reliable programs. And you'll see how easy it is to write Clojure functions and also how you can use those functions to build complex and capable systems.

With real-world examples of how working Clojure programmers use the language, Getting Clojure will help you see the challenges of programming through the eye of experienced Clojure developers.

What You Need:

You will need to some background in programming. To follow along with the examples in the book, you will need Java 6 or new, Clojure 1.8 or 1.9, and Leiningen 2.

商品描述(中文翻譯)

在每種程式語言背後,都有一種願景,描述了程式應該如何構建。Clojure 的願景是一個徹底簡單的語言框架,將一系列複雜的程式設計特性緊密結合在一起。學習 Clojure 涉及的內容遠不止於學習語言的機制。要真正理解 Clojure,您需要了解這個框架和特性結構背後的理念。您需要這本書:一本易於理解的 Clojure 入門書,專注於語言背後的理念以及編寫程式碼的實際細節。

Clojure 吸引了前沿的開發者,並且可以說是學習以函數式風格編程的最佳語言,毫無妥協。但這也伴隨著陡峭的學習曲線。《Getting Clojure》直接針對這一點,通過教您如何以函數式思維來學習語言。您將學習 Clojure 強大的資料結構和高階函數,但您也會了解一種語言為何是函數式的,以及如何以 Clojure 的函數式方式思考。

《Getting Clojure》的每一章都會選取語言中的一到三個特性,解釋該特性的語法和背後的機制,以便您能在深入探討更深層次的問題之前,先讓它運作起來:這個特性的思維是什麼?它如何與語言的其他部分相互配合?在《Getting Clojure》中,您將學習 Clojure 非常簡單的語法,但您也會了解為什麼這種語法對語言的構建至關重要。您會發現 Clojure 中大多數資料結構是不可變的,但也會了解這為什麼會導致更可靠的程式。您將看到編寫 Clojure 函數是多麼簡單,以及如何利用這些函數來構建複雜且功能強大的系統。

通過現實世界中 Clojure 程式設計師如何使用這種語言的範例,《Getting Clojure》將幫助您從經驗豐富的 Clojure 開發者的角度看待程式設計的挑戰。

您需要的條件:

您需要具備一些程式設計的背景。為了跟上書中的範例,您需要 Java 6 或更新版本、Clojure 1.8 或 1.9,以及 Leiningen 2。