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.
这点东西根本不值当写成一本书。 几篇连续的博客足以完成这个任务,这个任务适合写成几篇连续的博客。 一本书的内容应该比这个多比这个深。比这个多比这个深的内容才适合写成一本书。 一定要多写文字凑够评论字数要求,为了凑够评论字数要求多写了这些无用的话。 其实我想说的...
评分废话太多,不过对于没接触过函数式编程的人大概很不错。
评分快速浏览,对Java 8一览而过。当然,如果不熟悉FP,阅读起来就会难一点。可作为资料书,便于随时查阅Java 8的特性。此外,github上有该书的案例。
评分好久没给过5星了
评分函数式编程的讲解非常清晰。感谢
评分中规中矩的一本书,对快速获取新的特性很有帮助。
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有