Programming Clojure

Programming Clojure pdf epub mobi txt 电子书 下载 2026

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

评分

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

评分

大家好,我是这本书的译者。 说Clojure是目前jvm上最优雅的编程语言毫不为过,其诸多设计思想代表了整个Java世界的发展方向。而本书的重点,就是通过clojure这门语言,传递这些足以改变我们观念的思想。作为一名在面向对象世界摸爬滚打了10多年的程序员,我自己在接受了clojur...  

评分

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

评分

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

用户评价

评分

如果只看一本clojure编程书,那就看这本吧。第二版依旧高品质。

评分

It does NOT cover macros!!!

评分

不是很系统. macros跳过去不看了.

评分

说句老实话,作为一个靠Scheme启蒙的软件工程师,这么些年过后,我发现Clojure对我而言除了跑在JVM上没有什么别的好处了,我依然更倾向于Actor而不是STM,macro则永远是个仁者见仁智者见智的东西。况且这么多年后我的视力越来越不适合看s-expression了。。。

评分

更新了语言特性,其余没差

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

© 2026 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有