作者:《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
CascadingStyleSheetsenableyoutorapidlycreatewebdesignsthatcanbesharedbyhundredso...
《虚拟机:系统与进程的通用平台》的作者从计算机体系结构研究者的角度,以计算机系统接口抽象层次中两个最重要的接口——应用的二
《资本与意识形态·漫画版》内容简介:⭐一个家族八代人,穿越200多年时空岁月,见证从法国大革命到21世纪,全球范围内的财富变迁
工业机器人与自控系统的集成应用 本书特色 本书从实用的角度出发,对工业机器人与PLC 控制系统的综合应用、触摸屏与机器人的联合应用、机器人与视觉系统的综合应用,...
在通往“Java技术殿堂”的路上,本书将为你指点迷津!内容全部由Java编码的最佳实践组成,从语法、程序设计和架构、工具和框架、
《电气控制与PLC应用技术》内容简介:本书共分为10章,主要内容包括常用低压电器、电气控制电路的基本控制环节、机床电气控制系统、
《全经验课程:为儿童创造完整的生活世界》内容简介:全经验课程是在“全经验”理念下对儿童经验领域的一种整体架构,它不以学科为
《基于ARM Cortex-M4F内核的MSP432 MCU开发实践》内容简介:本书以基于ARM Cortex-M4F内核的MSP432 P401r微控制器为例...
C语言兼具高级语言和汇编语言的特点,学习起来难度较大,令不少初学者望而生畏。同时,C语言又是一门应用非常广泛的编程语言,在
Dozensofinformative,full-colorillustrations!UnderstandNokiasuserinterfacesandthe...
为使自己倾心倾力建造的东西真正成为建筑,是雇用建筑师?还是成为建筑师?抑或是学会像建筑师那样思考?三种选择虽道理各异,却
《包装设计:品牌的塑造:从概念构思到货架展示》的基本宗旨就是为生产商、营销商、设计事务所(包装、品牌咨询、广告、平面设计及工
中文版PHOTOSHOP CC艺术设计精粹案例教程 本书特色 精选实用案例剖析 分步教学 彩图演示 视频讲解,帮你彻底掌握PS平面设计精髓,轻松完成作品设计!6...
《游踪行旅亦有趣》内容简介:《游踪行旅亦有趣》中的作品有叙事的、抒情的、释理的,文笔手法细腻,结构顺畅,条理清晰,内容丰富
《中国纪录电影》内容简介:本书从自己工作实际出发,凭借自身资源优势,以大量纪录影视作品实例,梳理中国纪录电影的发展轨迹,总
《程序员的修炼——从优秀到卓越》是《高效能程序员的修炼》的姊妹篇,包含了CodingHorror博客中的精华文章。全书分为8章,涵盖了
《素手调水——茶艺茶道》内容简介:1.从茶品出发,逐渐展开了茶艺、茶道的描述。茶品中包含了茶树的生长环境和茶叶的分类以及加工
本书教读者循序渐进地、系统地学习UML基础知识和应用技术。和前一版相比,本书内容根据UML2.0进行了补充和更新,随书光盘包含了建
何马克(MarkHurst)是一位始终重视用户体验的创业者和作家,他始终关注技术创新给人们生活带来的变化和影响。1997年,还很少有人
《运营之光》内容简介:本书尤其难得之处在于:它既对“什么是运营”这样的概念认知类问题进行了解读,又带有大量实际的工作技巧、