作者:《Functional Programming in Scala》书籍
出版社:Softbound print
出版年:2014-9-14
评分:9.0
ISBN:9781617290657
所属分类:网络科技
Functional programming (FP) is a programming style emphasizing functions that return consistent and predictable results regardless of a program's state. As a result, functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs. Scala is an emerging JVM language that offers strong support for FP. Its familiar syntax and transparent interoperability with existing Java libraries make Scala a great place to start learning FP.
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.
You'll discover simple but powerful ideas and techniques that cut through the complexity of modern software engineering, including writing multi-core and distributed programs. You'll learn how FP gives you high confidence in the correctness of your code and helps you design software at high levels of abstraction so that even very large systems become comprehensible at a glance.
WHAT'S INSIDE:
Functional programming from square one in clear, readable language
No prior Scala experience needed
Learn both the hows and whys of FP
No prior experience with FP or Scala is required. Perfect for programmers familiar with FP in other languages wishing to apply their knowledge in Scala.
PART 1: INTRODUCTION TO FUNCTIONAL PROGRAMMING
1. What is functional programming? - FREE
2. Structuring functional programs - AVAILABLE
3. Functional data structures - AVAILABLE
4. Handling errors without exceptions - AVAILABLE
5. Strictness and laziness - AVAILABLE
6. Purely functional state - AVAILABLE
PART 2: FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
7. Purely functional parallelism - AVAILABLE
8. Property-based testing - AVAILABLE
9. Parser combinators
PART 3: COMMON STRUCTURES IN FUNCTIONAL DESIGN
10. Monoids
11. Monads
12. Applicative functors, traversable, and distributive data structures
PART 4: BREAKING THE RULES: EFFECTS AND I/O
13. External effects and I/O
14. Local effects and the ST monad
15. Stream processing and incremental I/O
Appendix A: Haskell, Scala and syntax
Appendix B: Scalaz, implicits, and large library organization
揭开时间之谜一直是人类一个最古老的梦想。其中可想而知的是,与了解过去一切相比,人们更渴望拉开未来的帷幕。其实,对于往事的
《Flash游戏编程基础教程》是Flash游戏设计方面的入门级图书。全书共包括5个完整的游戏项目。作者RexvanderSpuy循序渐进地讲解了
《遇见台湾·古早的味道》内容简介:《遇见台湾:古早的味道》是一本传统台湾美食文化的书。“古早”在闽南语中意为“过去、曾经”
MongoDB权威指南 本书特色 与传统的关系型数据库不同,mongodb是一种面向文档的数据库。《mongodb权威指南(第2版)》这一版共分为六部分,涵盖开...
《古文观止:新注插图本》内容简介:新版《古文观止》收录全本二百二十二篇,以中华书局简体校本为底本,参考广益书局重订言文对照
《历史不曾远去:吴晗读史札记》内容简介:本书是吴晗在二十世纪三四十年代发表于国内各大历史学术杂志上的历史研究随笔,共十一篇
《建筑计划学》是作者基于多年来从事建筑计划学研究的成果及教学、工作实践的经验,同时广泛参考国内外建筑计划学专著、教材和相
精通UG NX5中文版-基础入门篇(附赠1CD.含4小时语音视频教学) 内容简介 全书共分14章,主要介绍了ug nx5的绘图命令、实体特征以及各项命令的操作与...
本书首先从软件需求实践中出现的主要问题和困难入手,指出了改进的主要方向;然后逐一说明了需求定义、需求捕获、需求分析与建模
计算机急剧改变了20世纪的生活。今天,我们凭借遍及全球的计算机网络加速了过去以广播、报纸和电视形式进行的交流。思想风驰电掣
游戏开发中的物理学-第二版-(影印版) 本书特色 如果你打算丰富游戏中现实意义上的物理体验,《游戏开发中的物理学(影印版第2版)》这本经典书籍的扩展版本...
《物联网与生态环境》内容简介:本书围绕党的十八大以来我国在生态文明建设和美丽中国实践的新特色,本书系统总结了物联网在生态环
本书描述的是在逆向与反逆向之间展开的一场旷日持久的拉锯战。作者EldadEilam以一个解说人的身份为我们详尽地评述了双方使用的每
操作系统 内容简介 本书以UNIX操作系统为背景,介绍了操作系统的基本知识,全书包括九章内容,概述了操作系统的定义、功能、特征、发展历程、主要类型及用户界面,以...
《SEO教程搜索引擎优化入门与进阶》是作者从事搜索引擎优化5年以来的经验总结,书中深度剖析了搜索引擎优化的每个细节,包括关键
《源流说:内容生产与分发的44条法则》内容简介:本书以源流两字概括内容的生产与分发(源指内容生产之源头,流指内容分发之流向)
《微信营销与运营一册通》内容简介:《微信营销与运营一册通》深入介绍了当今最为火热的话题——微信营销,内容全面、系统和深入。
《国际课程及择校升学指南》内容简介:近年来,留学正走向低龄化甚至超低龄化,国际学校和国际课程的需求也随之急速上升。面对众多
ObjectOrientedProgrammingisaveryimportantaspectofmodernprogramminglanguages.Theb...
无线技术已成为电信和网络界最热门的研究领域。本书的内容丰富且新颖,包括基本的无线通信原理,以及各种无线网络的协议和应用。