Getting Clojure: Build Your Functional Skills One Idea at a Time

Russ Olsen

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2018-06-12
  • 定價: $1,630
  • 售價: 8.0$1,304
  • 語言: 英文
  • 頁數: 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 吸引了許多前沿的開發者,並且可以說是最適合學習函數式編程風格的語言,而且不需要妥協。但是這也意味著需要克服一個陡峭的學習曲線。《Getting Clojure》直接解決了這個問題,它教你如何以函數式的思維方式來學習語言。你將學習到 Clojure 強大的資料結構和高階函數,同時也會了解什麼是函數式語言,以及如何以 Clojure 的函數式方式思考。

《Getting Clojure》的每一章都介紹語言的一個或多個特性,解釋該特性的語法和機制,讓你能夠在深入探討之前先讓它運作起來。同時也會探討這些特性背後的思想,以及它們如何與語言的其他部分相互配合。在《Getting Clojure》中,你將學習到 Clojure 簡單的語法,同時也會了解為什麼這種語法是構建語言的重要組成部分。你將發現 Clojure 中的大多數資料結構都是不可變的,同時也會了解為什麼這導致了更可靠的程式。你還將看到撰寫 Clojure 函數是多麼容易,以及如何使用這些函數來構建複雜而強大的系統。

《Getting Clojure》通過實際的例子展示了實際使用 Clojure 的程式設計師如何應對程式設計的挑戰,讓你能夠透過有經驗的 Clojure 開發者的眼睛來看待程式設計。

你需要什麼:

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