作者:《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
《数字化魔方:数字化转型的创新思维模式》内容简介:何为数字化转型?进行数字化转型需要做什么,具体应该怎么做?如何评估组织能
随着Ajax技术的不断风靡,其核心技术JavaScript越来越受到人们的关注,各种JavaScript的框架层出不穷。jQuery作为JavaScript框架
《漫画小白学漫画,这本就够了!(基础综合)》内容简介:一直以来,漫画都受到大众的热爱和追捧,尤其是日本漫画和美国漫画。国内
《互联网营销:理念的颠覆与蜕变》内容简介:这本书把互联网商业的新营销思维,简要地归纳为四个英文字母SURE,分别代表口碑扩散(
《豹迹:与记忆有关》内容简介:他是国际知名的美术史家,在艺术研究领域举足轻重,同时他也是当代重要的艺术评论者,从西方艺术、
《当你路过我的阳光》内容简介:当我的天空灰暗时,你把快乐带来,你是我的阳光,我唯一的阳光。假如我的世界你不曾来过,我的心将
《区块链核心算法解析》内容简介:《区块链核心算法解析》介绍了构建容错的分布式系统所需的基础技术,以及一系列允许容错的协议和
内容简介:打造现代布局的专业技术本书远非只是介绍基础知识,它不仅全面细致地讲解布局与效果,而且展望了HTML5和CSS3的未来。业
《周有光传》内容简介:《汉语拼音之父:周有光传》主要内容简介::半个世纪前,他从经济学教授变身语言文字学家。花三年时间倾力打磨
IsyourapplicationorWebsitereadyforprimetime?Amajorrevisionofaclassicreference,"G...
《传统道德与中华人文精神》内容简介:人性、处世、处己、处人的人生观,义利、公私、理欲、德才的价值观,孝、忠、仁、义、礼、智
《文史随感》内容简介:本书是戴逸先生在史学研究之余创作的文史随感结集,书中鉴古思今,内容涉及作者对中国历史和文学、中西文化
Theaimofthisbookistodiscussthefundamentalideaswhichliebehindthestatisticaltheory...
《唤醒自己》内容简介:这是一部能够帮你做出正确决策的智慧之书。它帮你认清世界的本质,让你在择业、财富、人生选择、思维模式等
《绿色经典·名山大川——山川散文选》内容简介:什么是经典?常念为经,常数为典。经典就是经得起重复。常被人想起,不会忘记。依
嵌入式系统体系结构编程与设计(影印版) 内容简介 本书是关于嵌入式系统开发与设计的一部*新力作,介绍了嵌入式系统的硬件、操作系统、开发过程以及编程。全书系统地阐...
ThisbookisasuperreferencetoallthingsAPI-related.Itexplainstheunderlyingtheoryand...
《过瘾湘菜800例》内容简介:湘菜即湖南菜,至今已有2000多年的历史。1974年在长沙马王堆出土的一套西汉随葬竹简菜谱上,已记载了1
《科学哲学(中文版)》内容简介:何为科学?科学是否客观?科学能否解释一切?本书为当代科学哲学中的主要问题提供了一幅清晰准确
《跨界协同育人共同体:思与行的融合》内容简介:上海中医药大学自2015年7成立“跨界协同育人共同体——服务学生成长导师团”。导师