Java 8 in Action

书名:Java 8 in ActionLambdas,Streams,andfunctional-styleprogramming
作者:Raoul-GabrielUrma/MarioFusco/AlanMycroft
译者:
ISBN:9781617291999
出版社:ManningPublications
出版时间:2014-8-28
格式:epub/mobi/azw3/pdf
页数:424
豆瓣评分: 8.3

书籍简介:

While the term "lambda expression" may sound abstract and academic, Java 8 Lambdas can have a big impact on how you program every day. In simplest terms, a lambda expression is a function—a bit of code—that you can pass to another method as an argument. Thus, you can cope with changing requirements by using a behavior, represented by a lambda, as a parameter. Java 8's functional programming features, like lambdas and the new Stream API that enables a cleaner way to iterate through collections, can help you write concise, maintainable code that scales easily and performs well on multicore architectures. Java 8 in Action is a clearly-written guide to Java 8 lambdas and functional programming in Java. It begins with a practical introduction to the structure and benefits of lambda expressions in real-world Java code. The book then introduces the Stream API and shows how it can make collections-related code radically easier to understand and maintain. Along the way, you'll discover new FP-oriented design patterns with Java 8 for code reuse, code readability, exception handling, data manipulation, and concurrency. For developers also exploring other functional languages on the JVM, the book concludes with a quick survey of useful functional features in Scala.

作者简介:

Raoul-Gabriel Urma has worked as a software engineer for Oracle's Java Platform Group, Google's Python team, Ebay, and Goldman Sachs as well as for several startup projects. He's currently completing a PhD in Computer Science at the University of Cambridge and is a regular speaker and instructor. Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He created the open source library lambdaj, an internal Java DSL for manipulating collections in a functional way. Alan Mycroft is Professor of Computer Science at the University of Cambridge, where he researches programming languages, their semantics, optimization and implementation. He is a co-founder and Trustee of the Raspberry Pi Foundation.

You can follow Raoul and Mario on Twitter at @raoulUK and @mariofusco.

书友短评:

@ 拉脚 1. tail recursion没有优化意料之外 2. immutable这个概念真是无处不在 @ Cady小拧巴 看过的第二本“in action"系列,好厉害!可以用很简单的语言把事情讲清楚~Java 8相关的东西前前后后看了许多,始终没有开窍,总算到这里觉得醍醐灌顶,functional programming真是艺术啊! @ hoterran 看了4天看完。lambda ,default method , Optional, method reference, stream都是好东西,正好重构用的上。延展开来不少的好东西,写 java 可以更加 functionally JCP做了很多好事,未来可期。 @ kid 中规中矩的一本书,对快速获取新的特性很有帮助。 @ accfcx 第4部分和附录看不下去,暂时放弃。函数式思想是重点,学习scala时再谈。 @ iamswf 条理清楚,如果想基于java学习函数式编程,推荐这本。 @ wltan 有的地方为了追求浅显而放弃了系统,比如completableFututure那章,看的时候顺着作者思路都明白,但是实际工作中用的时候,还得去看文档。适合初次接触java8的人,后续体系化的理解需要借助其他资料。 @ kid 中规中矩的一本书,对快速获取新的特性很有帮助。 @ Cady小拧巴 看过的第二本“in action"系列,好厉害!可以用很简单的语言把事情讲清楚~Java 8相关的东西前前后后看了许多,始终没有开窍,总算到这里觉得醍醐灌顶,functional programming真是艺术啊! @ Ajxxz Method Reference和Stream讲得挺清晰。

Table of Contents
PART I: FUNDAMENTALS
1 Java 8: why should you care? – FREE
2 Passing code with behavior parameterization – AVAILABLE
3 Lambda expressions – AVAILABLE
PART II: FUNCTIONAL-STYLE DATA PROCESSING
4 Processing data with streams – AVAILABLE
5 Collecting data with streams – AVAILABLE
6 Parallel data processing and performance – AVAILABLE
PART III: EFFECTIVE JAVA 8 PROGRAMMING
7 Refactoring, testing, debugging – AVAILABLE
8 Default methods – AVAILABLE
9 Optional: a better alternative to null – AVAILABLE
10 CompletableFuture: composable asynchronous programming – AVAILABLE
11 New Date and Time API – AVAILABLE
PART IV: BEYOND JAVA 8
12 Thinking functionally – AVAILABLE
13 Functional programming techniques – AVAILABLE
14 Blending OOP and FP: comparing Java 8 and Scala – AVAILABLE
15 Conclusions and "where next" for Java – FREE
APPENDICES:
A Miscellaneous language updates – AVAILABLE
B Miscellaneous library updates – AVAILABLE
C Performing multiple operations in parallel on a Stream – AVAILABLE
D Lambdas and bytecode – AVAILABLE
· · · · · ·

添加微信公众号:好书天下获取

添加微信公众号:“好书天下”获取书籍好书天下 » Java 8 in Action
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

添加微信公众号:“好书天下”获取书籍

添加微信公众号:“好书天下”获取书籍添加微信公众号:“好书天下”获取书籍