作者:《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
本书助您轻松体验Cocoa开发,不仅是阅读,还有动手实践。介绍完Xcode和InterfaceBuilder之后,您将很快接触到Objective-C的面向对
Geneticalgorithmsareplayinganincreasinglyimportantroleinstudiesofcomplexadaptive...
《上帝的骰子:量子物理趣画》内容简介:量子力学是什么?量子理论跟我又有什么关系?它是现代科学的前沿阵地,研究比原子还小的微
《Spring技术内幕》内容简介:《Spring技术内幕:深入解析Spring架构与设计原理(第2版)》从源代码的角度对Spring的内核和各个主要功
《新时代改革方法论研究》内容简介:该书包括以下几个个部分的内容。第一部分主要总结改革开放的重大意义,第二部分回顾改革方法论
《核技术解读中医药千年奥秘》内容简介:本书为“走进美丽的核科学世界系列”之一,主要内容包括核医学成像、放射性药物、放射性核
《数据可视化设计指南:从数据到新知》内容简介:《数据可视化设计指南:从数据到新知(全彩)》介绍了数据可视化的基本原理和设计
本书并不具体地描述某一技术的细节,而是尽量从宏观上、从历史的角度来描述通信产业的发展和变迁,描述在一个通信基础设施中使用
《网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂》作者根据在长期教学中积累的网页设计教学经验,完整、详尽地介绍H
《AWS助理架构师认证备考宝典》内容简介:本书是一本以AWS认证解决方案架构师一助理级考试的考试大纲为核心,结合作者多年AWS系统设
《常春藤英语(精编版·七级)》内容简介:本书根据《常春藤英语·七级(一~四)》四本书进行修订,从中选取难度相对较低的文本,并
程序员增值合订本2002 本书特色 全套合订本适合开发者、项目经理 CTO&CIO、编程爱好者阅读收藏内含:精装大16开上、下两册,52个印张,832页,另附配...
《劳动法和社会保障法(第二版)》内容简介:本书自出版以来,已经印刷多次,获得了教师和学生的好评,有多所大学的法律院系将其列
《埃斯库罗斯悲剧六种》内容简介:一套《罗念生全集》,一座奥林匹斯山。最全面完整:《罗念生全集》增订典藏纪念版,凡十卷,凡52
《中国关中—天水经济区发展报告(2013)》内容简介:《中国关中—天水经济区发展报告》系教育部重点支持的研究报告之一,由 陕西师
domus杂志是有着80多年历史的、世界著名的建筑艺术与室内设计杂志,其中文版创刊于2006年,“与中国有关”访谈栏目也同时推出。每
《解析彩虹》内容简介:全球极具影响力的科学家、当代知名进化论生物学家 《自私的基因》作者理查德•道金斯首部科普作品 写给所有人
《人机共生》内容简介:智能时代汹汹来袭,未来99%的人当真会成为无用阶层,只要极少数人才会成为超级人类?当智能机器越来越自主、
《校园三剑客:再生战士》内容简介:张小开在网上认识了A国网友玛奇卡,他在聊天中得知,玛奇卡得了小儿麻痹症,一直以来都和爸爸相
当前正在全球兴起的数字网络,并不仅仅是一种传输电子函件、万维网网页和数字电视的通信系统,而是一种全新的城市基础设施,一种