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.
这本书作为学习Java8中新增加的编程知识还是非常不错的。在前面章节中,主要介绍了Java8中提供的新特性,比如lamda表达式、stream、函数式编程、CompletableFuture类,新的日期类等等。几乎覆盖了所有的新特性,同时对于原理也有深入的介绍。 在介绍这些Java8中的新特性时,作...
評分 評分如果一开始学习Java是从Java 8以下的版本学习的,这本Java 8实战值得一读,Java 8相对于Java 7及之前的版本代码优雅太多,结合现在web业务前后端分离的Spring Boot后端框架,通过Java 8可以写出精炼、优雅的代码。 本书全面的介绍了Java 8的各种写法,第一部分、第二部分属于必...
中規中矩的一本書,對快速獲取新的特性很有幫助。
评分1. tail recursion沒有優化意料之外 2. immutable這個概念真是無處不在
评分1. tail recursion沒有優化意料之外 2. immutable這個概念真是無處不在
评分讀起來非常舒服,示例代碼可讀性也很高,喜歡上manning齣的書瞭
评分好久沒給過5星瞭
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有