作者:《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
《生活在哪个朝代最郁闷》内容简介:历史并不重复,只是押韵而已。——马克·吐温 历史给我们的教训就是,人们从来都不知道汲取历史
《ExtJS源码分析与开发实例宝典》从ExtJS实现的基本功能开始讲解,从两个方面对ExtJS进行整体上的概述,让读者从宏观上去把握Ext
群体智能与计算智能优化的盲均衡算法 本书特色 本书针对盲均衡理论与算法研究中初始权向量优化的难题,以智能群算法和智能计算理论为工具,开展了盲均衡算法性能优化的研...
供应链的超级赌注、全球化的中国较量、核发技术争峰、本土渠道抢位资深记者十八个月深入调查、业内专家和咨询公鼎力相助、揭示营
这是一本剖析Linux常用目录及文件的专著,它打破以往图书偏重介绍命令语句的惯性思维,以系统目录架构为主体,并设计查询功能,以
零基础学Word 本书特色 《计算机实用技能丛书》是一套软件专业类丛书,该丛书采用图解教学,针对当前*新软件,由浅入深地进行了详尽讲解。内容全面、简单直观、通俗...
《财务管理实务教程》内容简介:本书共分为十个项目,分别是:项目一财务管理基础认知,项目二货币时间价值与风险价值分析,项目三
JavaScript是一种脚本语言,已广泛用于Web应用开发。本书就是一本引导读者深入学习JavaScript,并能成为JavaScript专家的书。全书
《Android4高级编程(第3版)》由Android权威专家编写,涵盖了所有最新的内容,是学习使用Android4SDK开发移动应用程序的理想指南。
《沈从文的后半生:1948—1988(增订版)》内容简介:这是一部“感动沈从文家人”的沈从文传记,一部令《活着》作者“感慨万分”的
JeffcTapper,Adobe技术社区最有影响力的专家之一,拥有丰富的Web开发经验,客户包括摩根士丹利、IBM、道琼斯等公司。他还是WebcDev
《科学大王·植物大观》内容简介:开启神奇的植物王国之旅,从藤萝缠绕、花繁叶茂的热带雨林,到奇特的花、草、树、木、水果、蔬菜
《迷你世界创想天地:未来建筑大师(官方攻略3)》内容简介:《迷你世界创想天地》系列共分生存、战斗、建造、星能4册,无论你是刚
写在前面|王受之:其实,我这辈子都在讲设计的故事,只不过以前老在讲台上讲,很少通过书的方式和大家讲。现在就想和大家通过这本
《亲历中国四十年》内容简介:“我的四十年”丛书,包括《四十年四十人》《四十年来家国》《亲历中国四十年》三册,分别由中国人、
《轨道交通软件功能安全标准解析与实践》内容简介:本书面向航空航天、轨道交通、机器人、汽车电子、智能家电等与安全相关领域,围
《富起来 强起来:改革开放40年》内容简介:今年是改革开放40周年,中共中央决定举行隆重纪念活动,本书作为向改革开放40周年献礼图
《现代电子系统综合设计与实践》内容简介:本书共分为模拟电子、数字电子以及现代电子技术三大部分。模拟电子部分主要介绍了使用基
《天线理论与设计》(第2版)是W.L.Stutzman和G.A.Thiele所著《天线理论与设计》第2版中的译本。原作者都曾担任IEEE-AP学会主席,
Theworldofhealthcareisconstantlyevolving,everincreasingincomplexity,costs,andsta...