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
· · · · · · (收起)

读后感

评分

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

评分

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

评分

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

评分

很遗憾,我发了两次包含本书勘误的下载地址(ubuntu one的共享地址)的书评,都被豆瓣迅速删掉了,无法理解豆瓣的判断策略。 无奈,只能麻烦各位需要下载的同学使用关键字“Clojure程序设计勘误表”进行搜索了,深表歉意。  

评分

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

用户评价

评分

和第一版相比改动不大,主要更新是添加了 protocols 和 datatypes 部分的内容,删除了一些多余的例子,比起旧版的页数更少了。仍然是一本好读的、 pragmatic 风格的 clojure 入门书。

评分

通俗易懂,很适合入门,我是结合clojure编程一起看的

评分

It does NOT cover macros!!!

评分

这本书读起来难度不大,因为它并没有深入探讨FP,而只是在OOP的基础上顺便讨论了一下FP的思想

评分

入门书,还不错,看的是英文版,半懂不懂

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

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