图书标签: Java lambda 编程 计算机 软件开发 Java8 8 英文原版
发表于2024-05-17
Java 8 in Action pdf epub mobi txt 电子书 下载 2024
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.
第4部分和附录看不下去,暂时放弃。函数式思想是重点,学习scala时再谈。
评分1. tail recursion没有优化意料之外 2. immutable这个概念真是无处不在
评分看了4天看完。 lambda ,default method , Optional, method reference, stream 都是好东西,正好重构用的上。 延展开来不少的好东西,写 java 可以更加 functionally JCP做了很多好事,未来可期。
评分好久没给过5星了
评分Method Reference和Stream讲得挺清晰。
这本书作为学习Java8中新增加的编程知识还是非常不错的。在前面章节中,主要介绍了Java8中提供的新特性,比如lamda表达式、stream、函数式编程、CompletableFuture类,新的日期类等等。几乎覆盖了所有的新特性,同时对于原理也有深入的介绍。 在介绍这些Java8中的新特性时,作...
评分 评分如果你已经很熟悉函数式编程并掌握了一门函数式编程语言(比如Scala),那你很可能会对这本书中罗列的Java 8特性嗤之于鼻,但所有的一切前提是Java,对于Java而言,Java 8的改变确实令人惊叹。 本书是绝佳的Java 8入门和进阶参考,引入Streaming,函数式编程和新的时间管理库...
评分如果你已经很熟悉函数式编程并掌握了一门函数式编程语言(比如Scala),那你很可能会对这本书中罗列的Java 8特性嗤之于鼻,但所有的一切前提是Java,对于Java而言,Java 8的改变确实令人惊叹。 本书是绝佳的Java 8入门和进阶参考,引入Streaming,函数式编程和新的时间管理库...
评分Java 8 in Action pdf epub mobi txt 电子书 下载 2024