作者:《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
JavaScript专业开发人员必须具备的一个技能是能够编写可测试的代码。《编写可测试的JavaScript代码》的目标是教授如何为客户端和
《经销商窜货管理》内容简介:目前,大部分企业还是依靠传统渠道开展销售工作,窜货仍然是渠道管理中*常见的问题之一。本书较为全面
可视化程序设计与C#.NET语言 本书特色 visual c#.net是面向对象的可视化程序设计语言,具有简洁、高效 、安全、性能优良等特点,是面向对象程序设计...
Gardnersseminal1993accountofthepracticalapplicationsofMultipleIntelligencestheor...
本书首先从软件需求实践中出现的主要问题和困难入手,指出了改进的主要方向;然后逐一说明了需求定义、需求捕获、需求分析与建模
OnnumerousonlineforumsforJavaScriptandDHTML,themajorityofquestionsbeginwith"Howd...
《庄子讲义(精)》内容简介:陈引驰教授是《庄子》乃至道教佛教文学领域首屈一指的学者,他在复旦大学开设的“《庄子》精读”课历
《Scala编程(第5版)》内容简介:本书由直接参与Scala开发的一线人员编写,深入介绍Scala这门结合面向对象和函数式的编程语言的核
《了不起的中华服饰:壮族》内容简介:本书是一套“民族文化启蒙”的通俗百科类童书,以精心绘制的插图,通俗有趣的文字,讲述了中
《智能手机维修大全(实例精华版)》内容简介:为维修类工具书,本书以理论结合实际的方式,着重讲解智能手机的维修技巧,同时配以
内容简介活用CSS讓Web設計更多元!本書因應Web設計而生,在書中我們將焦點放在最重要的兩種語言上,即XHTML與CSS,並融合了目前最
《乡土中国》内容简介:《乡土中国》是费孝通在西南联大和云南大学讲授“乡村社会学”的讲稿,它尝试回答了“作为中国基层社会的乡
比尔•盖茨曾说过:“21世纪要么电子商务,要么无商可务。”在这个一切皆电子商务的时代,人类数千年来的商业行为被颠覆,人们的购
编程的真正挑战不是学习一种语言的语法,而是学习创造性地解决问题,从而构建美妙的应用。《像程序员一样思考》分析了程序员解决
《西北断简》内容简介:本书是朱幼棣先生在20世纪末的数年里完成的旅行文集。他在各地任职、考察期间,从西北到晋陕,用自己的双脚
《Matlab R2016a从入门到精通》内容简介:本书讲述的内容是使用MATLAB进行科学研究、系统仿真、数据分析与处理的必备知识。通过全面
《小池大鱼》内容简介:不是每个企业都可以成为行业龙头。一些聪明的企业,会在细分市场做垂度和深度,做小池塘里的大鱼,进而成为
本书描述的是在逆向与反逆向之间展开的一场旷日持久的拉锯战。作者EldadEilam以一个解说人的身份为我们详尽地评述了双方使用的每
本书为日本长销商品的设计细节透析,回顾了日本各领域长销商品的注重消费者体验的设计变迁,以详尽的图解形式对比设计的变与不变
《数据科学之编程技术》内容简介:本书围绕使用R进行数据科学编程所需的实际步骤展开。全书着眼于该主题,介绍了有关该主题的工具和