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

评分

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

评分

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

评分

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

评分

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

用户评价

评分

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

评分

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

评分

It does NOT cover macros!!!

评分

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

评分

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

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

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