Programming Clojure

Programming Clojure pdf epub mobi txt 電子書 下載2025

出版者:Pragmatic Bookshelf
作者:Stuart Halloway
出品人:
頁數:296
译者:
出版時間:2012-4-17
價格:USD 35.00
裝幀:Paperback
isbn號碼:9781934356869
叢書系列:
圖書標籤:
  • clojure
  • Clojure
  • Programming
  • Lisp
  • 函數式編程
  • FP
  • 程序設計
  • 編程
  • Clojure
  • 編程
  • 函數式編程
  • 學習
  • 語言
  • 開發
  • 軟件工程
  • 編程語言
  • 並發
  • 集閤
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

The second edition of Programming Clojure is the first book to cover the new features in Clojure 1.3. Clojure experts Stuart Halloway and Aaron Bedra have updated the first book on Clojure, and new examples have been added to demonstrate the power and depth of the new features. Programming Clojure, 2nd Edition covers new concepts like Protocols and Datatypes, as well as Clojure's changes to the numerics system. In addition, this book includes coverage of ClojureScript, a new platform for the Clojure language that rests on top of JavaScript. This book provides the foundation you need to understand the power of the Clojure language and how to wield it. Clojure is an increasingly important language. It recently overtook Scala in relative growth, and is becoming the language of choice for many who are moving to functional programming or dealing with the challenges of concurrency. More and more developers are starting to see what Clojure has to offer. * Simplicity. Clojure's clean, careful design lets you write programs that get right to the essence of a problem, without a lot of clutter and ceremony. * Clojure has the power inherent in Lisp, but is not constrained by its history. * Clojure is a functional language. Data structures are immutable, and functions tend to be side-effect free. This makes it easier to write correct programs, and to compose large programs from smaller ones. * Clojure is concurrent. Rather than error-prone locking, Clojure provides software transactional memory. * Clojure embraces Java. Calling from Clojure to Java is direct, and goes through no translation layer. * Clojure is fast. Wherever you need it, you can get the exact same performance that you could get from hand-written Java code. Many other languages offer some of these features, but the combination of them all makes Clojure sparkle. Programming Clojure, 2nd Edition shows you why these features are so important, and how you can use Clojure to build powerful programs quickly. Reviewers called the first edition of Programming Clojure "a masterwork," "well-organized and easy-to-read," "a great reference," "a mature and polished guide," and "a real pleasure to read." This second edition not only provides up-to-date coverage of the language, but is a fantastic reference that you can keep close to you during the development of your own Clojure programs. What You Need: * Oracle JDK 6 * A text editor

著者簡介

Stuart Halloway Clojure/core成員、Relevance公司CTO。

Aaron Bedra Clojure/core成員,在擔任Relevance公司開發者期間,他成為一名技術領袖、演講傢和作傢。他對Clojure語言及其支持庫貢獻頗多,同時也是Clojure社區中的活躍分子。Aaron牽頭開發瞭一些商業的Clojure項目。目前他在Groupon工作。

圖書目錄

Foreword for the Second Edition
Foreword for the First Edition
Acknowledgments
Preface
-
1. Getting Started
1.1 Why Clojure?
1.2 Clojure Coding Quick Start
1.3 Exploring Clojure Libraries
1.4 Wrapping Up
-
2. Exploring Clojure
2.1 Forms
2.2 Reader Macros
2.3 Functions
2.4 Vars, Bindings, and Namespaces
2.5 Calling Java
2.6 Flow Control
2.7 Where’s My for Loop?
2.8 Metadata
2.9 Wrapping Up
-
3. Unifying Data with Sequences
3.1 Everything Is a Sequence
3.2 Using the Sequence Library
3.3 Lazy and Infinite Sequences
3.4 Clojure Makes Java Seq-able
3.5 Calling Structure-Specific Functions
3.6 Wrapping Up
-
4. Functional Programming
4.1 Functional Programming Concepts
4.2 How to Be Lazy
4.3 Lazier Than Lazy
4.4 Recursion Revisited
4.5 Wrapping Up
-
5. State
5.1 Concurrency, Parallelism, and Locking
5.2 Refs and Software Transactional Memory
5.3 Use Atoms for Uncoordinated, Synchronous Updates
5.4 Use Agents for Asynchronous Updates
5.5 Managing Per-Thread State with Vars
5.6 A Clojure Snake
5.7 Wrapping Up
-
6. Protocols and Datatypes
6.1 Programming to Abstractions
6.2 Interfaces
6.3 Protocols
6.4 Datatypes
6.5 Records
6.6 reify
6.7 Wrapping Up
-
7. Macros
7.1 When to Use Macros
7.2 Writing a Control Flow Macro
7.3 Making Macros Simpler
7.4 Taxonomy of Macros
7.5 Wrapping Up
-
8. Multimethods
8.1 Living Without Multimethods
8.2 Defining Multimethods
8.3 Moving Beyond Simple Dispatch
8.4 Creating Ad Hoc Taxonomies
8.5 When Should I Use Multimethods?
8.6 Wrapping Up
-
9. Java Down and Dirty
9.1 Exception Handling
9.2 Wrestling with the Integers
9.3 Optimizing for Performance
9.4 Creating Java Classes in Clojure
9.5 A Real-World Example
9.6 Wrapping Up
-
10. Building an Application
10.1 Scoring a Clojurebreaker Game
10.2 Testing the Scorer
10.3 test.generative
10.4 Creating an Interface
10.5 Deploying Your Code
10.6 Farewell
-
A1. Editor Support
A2. Bibliography
-
Index
· · · · · · (收起)

讀後感

評分

想象之中啊....木有那么强力. 不是那么NB的感觉....写的很乱. 理不出头绪. 英语差是主要... 如果可以的话 建议去看别的... Clojure in Action 据说还行 最近工作忙没有时间看...  

評分

本书仍然提供了令人振奋的Clojure简介,我希望它能激发你加入我们的社区,并最终对Clojure生态系统做出贡献。 ——Rich Hickey,Clojure之父 Clojure是目前最有趣的编程语言之一,同时,作为学习Clojure的最佳途径, 本书增加了许多最新的信息和丰富实用的范例,此外还有大...

評分

也许是 Clojure 系列中的第一本书吧,我也不确定。作者 Stuart Halloway 是核心开发者之一。这本书权威性是肯定足够的。不过需要一点点的 LISP 基础。推荐在学之前先看看 IBM Developer Networks 上的关于 Guile 的几篇文章,了解一些 LISP 的基础概念。不过听朋友说 The Joy o...  

評分

被Clojure给吓住啦?在读过本书之后,你就不再会这样了。它文风清晰、平易近人且令人愉悦,带你循序渐进地学习这门语言。 ——Tim Berglund August Technology Group的创始人及负责人 作者凭借这本组织良好且易于阅读的著作,为学习Clojure语言设计了一条最为平坦的路线。本...  

評分

极为生动地引诱你爱上来自下个世纪的语言 Clojure (By Howard Lewiship) 。 从一开始就展现了 Clojure 的各种迷人特点,特别适合 Java 程序员。  

用戶評價

评分

入門書,還不錯,看的是英文版,半懂不懂

评分

更新瞭語言特性,其餘沒差

评分

不是很係統. macros跳過去不看瞭.

评分

說句老實話,作為一個靠Scheme啓濛的軟件工程師,這麼些年過後,我發現Clojure對我而言除瞭跑在JVM上沒有什麼彆的好處瞭,我依然更傾嚮於Actor而不是STM,macro則永遠是個仁者見仁智者見智的東西。況且這麼多年後我的視力越來越不適閤看s-expression瞭。。。

评分

It does NOT cover macros!!!

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有